JSPM

@darkwolf/push-id.cjs

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q7194F
  • License MIT

Push ID

Package Exports

  • @darkwolf/push-id.cjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@darkwolf/push-id.cjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Push ID

Install

ECMAScript (Node.js v12.x LTS or higher)

npm i --save @darkwolf/push-id.mjs

CommonJS (Node.js v10.x LTS or higher)

npm i --save @darkwolf/push-id.cjs

Using

// ECMAScript
import PushID from '@darkwolf/push-id.mjs'

// CommonJS
const PushID = require('@darkwolf/push-id.cjs')

const pushId = PushID.generate() // => '-MSAWSy_mM81Jtpapkpf'
const base62PushId = PushID.generateBase62() // => '0SNRDNOKchaXO5SgpJ32'
const base58PushId = PushID.generateBase58() // => '1jLoJJiLyzyxpjjcnsvf'

API Documentation

Contact Me

GitHub: @PavelWolfDark

Telegram: @PavelWolfDark

Email: PavelWolfDark@gmail.com