An open API service indexing awesome lists of open source software.

https://github.com/trekjs/utils

Trek utils
https://github.com/trekjs/utils

Last synced: about 2 months ago
JSON representation

Trek utils

Awesome Lists containing this project

README

          

# trek-utils

> Wrap trunk or callback to Promise or GeneratorFunction.

[![NPM version][npm-img]][npm-url]
[![Build status][travis-img]][travis-url]
[![Test coverage][coveralls-img]][coveralls-url]
[![License][license-img]][license-url]
[![Dependency status][david-img]][david-url]

## utils

### token

### [bcrypt](https://github.com/ncb000gt/node.bcrypt.js)

* genSalt
* compare
* hash

### [pbkdf2](https://iojs.org/api/crypto.html#crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback)

* genSalt
* compare
* hash

### [jwt](https://github.com/auth0/node-jsonwebtoken)
* sign
* decode
* verify

## License

[MIT](LICENSE)

[npm-img]: https://img.shields.io/npm/v/trek-utils.svg?style=flat-square
[npm-url]: https://npmjs.org/package/trek-utils
[travis-img]: https://img.shields.io/travis/trekjs/utils.svg?style=flat-square
[travis-url]: https://travis-ci.org/trekjs/utils
[coveralls-img]: https://img.shields.io/coveralls/trekjs/utils.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/trekjs/utils?branch=master
[license-img]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
[license-url]: LICENSE
[david-img]: https://img.shields.io/david/trekjs/utils.svg?style=flat-square
[david-url]: https://david-dm.org/trekjs/utils