@4a/uid

简单的资源数字ID,适用小量场景

Usage no npm install needed!

<script type="module">
  import 4aUid from 'https://cdn.skypack.dev/@4a/uid';
</script>

README

upload-integer-id

简单的资源数字ID,适用小量场景

Install

npm i @4a/uid

Usage

const uid = require('@4a/uid')

// length 20
uid() // 10725223008776586826

// length 22
uid.long() // 1200725223008783981198