Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@endeo/types
Advanced tools
Common types for values in @endeo/specials objects.
These are used when creating an "object spec" to encode a "special object" in a compressed format. They are specified as the 'type' in the enhancers
object.
When endeo's enbyte encodes a "special object" it must test each key's value to determine which type it is so it knows how to encode it. Specify its exact type to skip that work.
See packages:
npm install --save @endeo/types
var types = require('@endeo/types')
var enhancers = {
key: {
type: types.day
}
}
// OR, when specials has the type
specials.addType('day', types.day)
var enhancers = {
key: 'day'
}
There are two extra types available for optional use:
Date
requires many bytes to encode because it has a lot of info. If you only want to store the year, month, and day (in month) then you may use this type and it'll encode it in four bytes instead.Date
requires many bytes. If you only want the hours and minutes (24-hour style) then use this type to encode it in two bytes.FAQs
Common types for values in @endeo/special objects.
We found that @endeo/types 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.