Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

springautum.work/noquark/nanoid

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

springautum.work/noquark/nanoid

Go Modules
Version
v0.0.0-20230718020649-488c3ab1b3e1
Version published
Created
Source

nanoid

Lint Status Test and Benchmark Status Go Reference Go Report Card license MIT

A NanoID generator in Go
Based on nanoid and go-nanoid


Install

$ go get github.com/noquark/nanoid

Usage

For simple nanoID

id, err := nanoid.New()

For nanoID with custom length

id, err := nanoid.New(7)

Credits

Alternatives

FAQs

Package last updated on 18 Jul 2023

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