1.0.6 • Published 3 years ago

strongsalt-crypto-js v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

strongsalt-crypto-js

Usage

npm install strongsalt-crypto-js

const SSC = require('strongsalt-crypto-js')
const key = new SSC('XCHACHA20')

Compatibility

Both Node.js and browsers are supported. If needed, a bundled and minified build for the browser can be found at /ssc-bundle.min.js

Contributing

npm install
cd browser
npm install

Run Tests Nodejs

test are run with the Jest test runner.
'npm run test' or 'npx jest' will run all test files with suffix .test.js

run individual file 'npx jest path/to/file.test.js'

Jest has great documentation

Run Tests for browser

from root of project run 'npm run dev'.
Edit browser/browserTests.js as needed.
Nagivate to localhost:3000 in your browser
Open your debugger console in the browser. (for mac Command + Option + j) or right click "Inspect".
The results of the test will be logged out. If a test fails, and error is thrown. No test runner is used.

Build Browser Bundle

npm run build-browser

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago