Write correct code with the compromise JavaScript NLP library (the npm package compromise, imported as nlp). Use this whenever you are writing or editing JS/TS that imports compromise, calls nlp(...), or chains methods like .match(), .tag(), .people(), .verbs(), .nouns(), .numbers(), .normalize(), or .replace() — and…
Write and debug JavaScript or TypeScript that uses the compromise English NLP library to match text, extract entities or numbers, customize tagging, and transform sentences. Use when the user requests compromise or the project already uses it, especially for its match syntax, selection semantics, build tiers, and…
Write or fix application code using the spacetime JavaScript library for date parsing, timezone conversion, calendar arithmetic, comparisons, and formatting.