简体   繁体   中英

Should I be using node-uuid or uuid?

On npmjs.com there are packages for both node-uuid and uuid . Which should I be using? They're the same API, one is forked from the other, and divergent in commits.

uuid is the actively maintained project / package. The projects have been merged.

It looks like the uuid module is a fork of node-uuid from when the node-uuid author wasn't being very responsive. See: https://github.com/broofa/node-uuid/issues/116

Looking at the recent commit history of the two projects, it looks like a community member has stepped up and has been maintaining node-uuid , while uuid doesn't seem to be actively maintained, so I decided to pick node-uuid .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM