Skip to content

shellscape/nanoid-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nanoid-cli

A tiny cli wrapper around nanoid to generate unique ids from the command line.

Usage

$ nanoid
eftOYF0ie93F_yVhkOBcM

Options

--alphabet, -a  Use a different alphabet to generate the id
--size, -s      Generate an id of a different size

Examples

$ nanoid
sBiU98ZmAHvICIOnUoxOW
$ nanoid --size 32
xgX77wBFcY1lso9R12Y2lHrluUbLjAPV
$ nanoid --alphabet "_~0123456789abcdefghijklmnopqrstuvwxyz"
6me9uz2j_blasac~0p5as

About

A tiny cli wrapper for nanoid

Resources

Stars

Watchers

Forks

Packages

No packages published