aardpro-time-id
v1.2.0
Published
一个根据时间戳产生唯一id的方法,并且能够自定义后缀,用来取代uuid和数字自增id。A method that generates a unique id based on the current timestamp in milliseconds, and can also be used to generate a unique id with a suffix, which can be used to replace uuid and numeric auto-increment id
Downloads
214
Readme
aardpro-time-id
- 一个根据时间戳产生唯一id的方法,并且能够自定义后缀,用来取代uuid和数字自增id
- A method that generates a unique id based on the current timestamp in milliseconds, and can also be used to generate a unique id with a suffix, which can be used to replace uuid and numeric auto-increment id
安装 Installation
pnpm
pnpm i aardpro-time-id
npm
npm i aardpro-time-id
yarn
yarn add aardpro-time-id