@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/shared

Usage

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:types

Publish

npm login
npm publish --access public

If you need to publish for the first time under @world-news, make sure your npm org access is configured.