@nerdjs/fluffy-the-cat
v1.1.0
Published
Can log "hi 🐱" to the console!
Downloads
2
Readme
POC - Fluffy the cat
Fluffy the cat package is a "Proof of concept" to contain and expose a couple of functionalities.
This is a private package.
Installation
npm i @nerdjs/fluffy-the-cat
Usage
import {showMeCats} from "@nerdjs/fluffy-the-cat";
# returns 'hi 🐱'
showMeCats()
import {CatEntity} from "@nerdjs/fluffy-the-cat";
# returns 'The cat 🐱 did purr'
const cat = new CatEntity('🐱');
cat.purr();
Run locally
node package hot realod
npx tsc src/index.ts ---watch --outDir ./dist
Link package to project (consumer)
npm run --prefix <local_package_route> build && npm link <local_package_route>
publish package
- Build:
npm run build && npm publish
- Build a beta version:
npm run build && npm publish --tag beta