appkey

1.1.1 • Public • Published

AppKey

App Key/Secret Generator

npm npm npm

安装及使用

yarn add appkey
# 或 
npm i -S appkey

示例代码:

const gen = require('appkey');
 
const {key, secret} = gen();
console.log(key, secret);

参数说明

  • SALT(string): 加盐参数
  • Length(int): 生成的Key长度

SALT默认值为6位随机字符,默认生成的Key为36字节,Secret长度固定为32个字节.

Benchmark

gen x 121,577 ops/sec ±1.12% (78 runs sampled)

License

Apache 2.0

通过支付宝捐赠:

qr

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    77
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    77
  • 1.1.0
    1
  • 1.0.2
    2
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i appkey

Weekly Downloads

5

Version

1.1.1

License

Apache-2.0

Unpacked Size

13.9 kB

Total Files

7

Last publish

Collaborators

  • willin