Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cuidgen

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cuidgen

A command-line interface to generate collision-resistant ids (CUIDs) optimized for horizontal scaling and performance.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

CUIDGEN

Semantic Versioning MIT Licence Version oclif

A command-line interface to generate collision-resistant ids (CUIDs) optimized for horizontal scaling and performance.

A CUID is a short, random string with some collision-busting measures. These are safe to use as HTML element id's and for unique, server-side record lookups.

This CLI is built on the work of Eric Elliott and makes use of the CUID package found at https://www.npmjs.com/package/cuid.

Installation

Install CUIDGEN globally as you would any other NPM package.

npm install -g cuidgen

Compatibility

CUIDGEN is built using oclif. As such, it requires Node 8+.

Examples

$ cuidgen --help

$ cuidgen
cjocr937d00008drr0pfxxtxx

$ cuidgen 3
cjocr937d00008drr0pfxxtxx
cjocr937e00018drrttyzbjg4
cjocr937e00028drrsgq9146m

$ cuidgen 3 --delimiter=,
cjocr937d00008drr0pfxxtxx,
cjocr937e00018drrttyzbjg4,
cjocr937e00028drrsgq9146m

$ cuidgen 3 -d=, --qualifier='"'
"cjocr937d00008drr0pfxxtxx",
"cjocr937e00018drrttyzbjg4",
"cjocr937e00028drrsgq9146m"

$ cuidgen 2 --short
sw0xrlc
sy1xrqb

$ cuidgen 2000 > myfile.txt

Release History

See the change log file for more details.

License

Copyright (c) 2018 David Waterston. All rights reserved. Distributed under an MIT license. See the LICENSE file for more details.

Keywords

FAQs

Package last updated on 12 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc