@lacspace/extractive
Turn a full article into a compact brief for an AI writer — extractive TextRank summary, key-facts (numbers, money, %, dates, named entities), headline candidates and key phrases/hashtags, for English and Nepali (danda-aware, decimal-safe). Deterministic, no LLM; reuses keyphrase + factcheck-lite. describe() command schema for an AI conductor.
npm i @lacspace/extractiveKeywords
More in Automation Kit
Deterministic platform copy from facts — hooks, titles, captions, CTAs, descriptions in many styles (question, number-led, what-it-means, breaking, how-to, quote…), en + ne, trimmed to each platform's limit. Fills ONLY the facts you pass (never invents claims), drops sensational phrasing; AI optional, only to fill slots. describe() schema. Zero deps.
@lacspace/postbanditA tiny Thompson-sampling multi-armed bandit to learn the best option per platform — posting time, format, thumbnail or title variant — from engagement rewards. Beta posteriors per arm, deterministic when seeded, JSON-persistable; plugs into postplan. Zero deps.
@lacspace/commentguardComment moderation for English, romanized Nepali and Devanagari — spam, abuse, hate, doxxing, link-spam → allow/review/flag/hide, with PII detection (Nepali phone/email/URLs) and FAQ auto-replies. Deterministic rules + small extendable lexicons; borderline flag for an optional AI second opinion. describe() schema. Zero deps.
@lacspace/trendsTrending topics and hashtags for a region from official/public sources only — Google Trends daily RSS, YouTube mostPopular (optional key), Wikipedia pageviews — merged across scripts (Dashain ≡ दशैं) and scored, with story-relevance gating so you never trend-jack, and per-platform hashtag sets with limits + a shadow-ban filter. Bring-your-own-fetch; describe() schema.
@lacspace/datacardsAutomatic data posts from official Nepal sources — NRB forex (day-over-day deltas), FENEGOSIDA gold/silver, NOC fuel, DHM city weather + special-bulletin alerts, DoEnv air quality (AQI from PM2.5), injected NEPSE — each as a bilingual, BS+AD-dated newscard table/alert card with caption, alt text, hashtags, sparkline, worth-posting gate and a montage video plan. No AI tokens.
@lacspace/speakableEngine-agnostic spoken-form normaliser for Nepali and English TTS — numbers (unique Nepali 0–99 words, लाख/करोड, डेढ/अढाई idioms), Bikram Sambat + AD dates, times, currency, percent, phones/plates digit-by-digit, units, ordinals, acronyms (NEPSE → नेप्से), abbreviations, cross-script names with overrides; sentence pauses + slower numbers, SSML for edge-tts/Azure, estimated word timings, and engine WordBoundary alignment mapped back to the ORIGINAL text so captions never drift.