@worldnews/shared
v0.1.17
Published
Shared TypeScript types package for News Engine.
Downloads
97
Readme
@world-news/shared
Shared TypeScript types package for News Engine.
Install
npm install @world-news/sharedUsage
import type { Article, TenantConfig, AppContextValue } from "@world-news/shared";
const data: Article = { ... };Exported types
All types from src/types are re-exported from src/index.ts.
Build
npm run build:typesPublish
npm login
npm publish --access publicIf you need to publish for the first time under @world-news, make sure your npm org access is configured.