@mochen/secret
v1.0.1
Published
a command for generate a secret key
Downloads
7
Maintainers
Readme
secret
a command for generate a secret key
Usage
As Command
npm i -g @mochen/secret
$ secret
┌────────────────────────┐
│ │
│ PA8pz-yZCdLgnuNKpl │
│ │
└────────────────────────┘
$ secret 3
┌────────────────────────┐
│ │
│ i8OhDqFU5p5cjG75ix │
│ 8rz61U5XJFIrM3opH0 │
│ st9p3PrUWgeasSOZQv │
│ │
└────────────────────────┘
As node package
npm i @mochen/secret --save
const secret = require('./secret');
const k1 = secret();
console.log(k1); // Ym_U4QrozRPMyKzrZv