Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
uuid-parse
Advanced tools
Readme
Simple, fast parsing and unparsing of RFC4122 UUIDS.
Features:
npm install uuid-parse
const uuidParse = require('uuid-parse');
Parse and unparse UUIDs
id
- (String) UUID(-like) stringbuffer
- (Array | Buffer) Array or buffer where UUID bytes are to be written. Default: A new Buffer is usedoffset
- (Number) Starting index in buffer
at which to begin writing. Default: 0Example parsing and unparsing a UUID string
const bytes = uuidParse.parse('797ff043-11eb-11e1-80d6-510998755d10'); // -> <Buffer 79 7f f0 43 11 eb 11 e1 80 d6 51 09 98 75 5d 10>
const string = uuidParse.unparse(bytes); // -> '797ff043-11eb-11e1-80d6-510998755d10'
npm test
Please make sure to check out the repository that originated these functions: node-uuid. These functions were removed from a recent version of that library and I wanted to make sure they were still exposed for the packages who were dependent on them.
FAQs
RFC4122 UUID parser
The npm package uuid-parse receives a total of 307,192 weekly downloads. As such, uuid-parse popularity was classified as popular.
We found that uuid-parse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.