@lit-web3/node-assert
v0.1.1
Published
- Ensure `process` in globalThis - Resolve `import 'assert'` or `require('assert')` in browser
Downloads
1
Readme
Shim 'assert'
to browser
- Ensure
process
in globalThis - Resolve
import 'assert'
orrequire('assert')
in browser
Usage
Import directly:
import assert from '@lit-web3/node-assert'
Or declare resolutions in your root package.json.
{
"name": "your-app",
"resolutions": {
"assert": "npm:@lit-web3/node-assert"
}
}