6.0.0 • Published 2 years ago

@anip/formula v6.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Formula

Installation

npm:

$ npm install --save @anip/formula

yarn:

$ yarn add @anip/formula

Usage

Once the package is installed, you can import the library using import or require approach:

import formula from '@anip/formula`;

console.log(formula.version);

// or

import { version } from '@anip/formula`;

console.log(version);

// or

const formula = require('@anip/formula);

console.log(formula.version);

APIs

Function/Scoped FunctionDocs
fvREADME
pvREADME
pmtREADME
compoundREADME
goal (scoped)README

Test & Development

From root project:

$ npm run test:watch --workspace=@anip/formula

From formula directory:

$ npm run test:watch

Run Examples

Run the package as dev & watch mode:

$ npm run dev --workspace=@anip/formula

Run the examples:

$ cd packages/formula/examples
$ npm start

Build

From root project:

$ npm run build --workspace=@anip/formula

Versioning & Add Changelogs

Create changelog draft:

$ npm run changeset

Update draft inside .changeset/newly-added-draft-file-name.md

Bump version & update CHANGELOG.md

$ npm run changeset:version

Publishing

Publish the package to npm:

Need authentication (one time) before publishing to npm, run:

$ npm adduser

Publish:

$ npm publish --workspace=@anip/formula
4.0.0

2 years ago

5.0.0

2 years ago

6.0.0

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago