4.0.3 • Published 5 years ago

the-password v4.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

the-password

Build Status npm Version JS Standard

Password util for the-framework

Installation

$ npm install the-password --save

Usage

'use strict'

const thePassword = require('the-password')

async function tryExample () {
  const {generateSalt, generatePassword, digest} = thePassword()

  const salt = generateSalt()
  const password = generatePassword()

  const passwordHash = digest(password, salt)
  /* ... */

}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago