The library is pure JavaScript with no type information. Consumers can’t get compile‑time safety or IDE autocomplete. Create a shepherd.d.ts declaration file (or rewrite the source in TypeScript) that exports the Shepherd namespace, its public methods, and the options/tag shapes. Publish the typings on npm and link them in the package.json ("types": "shepherd.d.ts").
The library is pure JavaScript with no type information. Consumers can’t get compile‑time safety or IDE autocomplete. Create a shepherd.d.ts declaration file (or rewrite the source in TypeScript) that exports the Shepherd namespace, its public methods, and the options/tag shapes. Publish the typings on npm and link them in the package.json ("types": "shepherd.d.ts").