npm

Need private packages and team management tools?Check out npm Orgs. »

qwebs-crypto

0.2.18 • Public • Published

qwebs-crypto

Cryptographic service for Qwebs server.

Features

## API
  • encrypt(source, password)
  • decrypt(source, password)

Declare and inject $crypto

Via routes.json

{
  "services": [
    { "name": "$crypto", "location": "qwebs-crypto" }
  ]
}

Or in javascript

const Qwebs = require("qwebs");
const qwebs = new Qwebs();
 
qwebs.inject("$crypto" ,"qwebs-crypto");

Installation

$ npm install qwebs-crypto

install

npm i qwebs-crypto

Downloadsweekly downloads

1

version

0.2.18

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability