# 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 foun

Latest version **1.0.6** (published 2020-11-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install strongsalt-crypto-js
pnpm add strongsalt-crypto-js
yarn add strongsalt-crypto-js
bun add strongsalt-crypto-js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-11-16 |
| First published | 2020-09-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 5.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Zach Milne |
| Maintainers | strongsalt |

## Links

- npm: https://www.npmjs.com/package/strongsalt-crypto-js
- Repository: https://github.com/overnest/strongsalt-crypto-js
- Homepage: https://github.com/overnest/strongsalt-crypto-js#readme
- Issues: https://github.com/overnest/strongsalt-crypto-js/issues
- npm.io page: https://npm.io/package/strongsalt-crypto-js

## Dependencies (5)

- [jsbn](https://npm.io/package/jsbn.md) ^1.1.0
- [superagent](https://npm.io/package/superagent.md) ^6.0.0
- [big-integer](https://npm.io/package/big-integer.md) ^1.6.40
- [crypto-browserify](https://npm.io/package/crypto-browserify.md) ^3.12.0
- [libsodium-wrappers-sumo](https://npm.io/package/libsodium-wrappers-sumo.md) ^0.7.8

## Recent versions

- 1.0.6 (latest) — 2020-11-16
- 1.0.5 — 2020-11-12
- 1.0.4 — 2020-11-04
- 1.0.1 — 2020-09-17
- 1.0.0 — 2020-09-17

## README

# 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](https://jestjs.io/docs/en/getting-started)

### 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```

---
_Source: https://npm.io/package/strongsalt-crypto-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
