Package Exports
- @fangcha/assert
- @fangcha/assert/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fangcha/assert) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
npm install @fangcha/assert
Assert functions.
Installation
npm install @fangcha/assertUsage
In Node.js:
const assert = require('@fangcha/assert')
// import * as assert from '@fangcha/assert'
...
// If you want to assert something.
assert.ok(1 === 2, 'Not equal', 400)