
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
content-entry
Advanced tools
content entries for content containers (aka files)
Brings directory attributes to entries.
superclass
Representation of one file or directory entry. All names are absolute (no leading '/') the group seperator is '/'.
name
string name inside of the containername
string name inside of the containerReturns Array<string> UTI types
Default unix mode for files
Returns number 0644
Returns boolean true if there is no content
Returns any true if we represent a deleted entry
Content entries where a Buffer is the primary data representation.
superclass
buffer
BufferExtends BufferContentEntryMixin(ContentEntry)
Extends BaseEntry
General content access entries.
Compare content against other entry.
other
EntryReturns boolean true if other has the same content (bitwise)
Extends EmptyContentEntry
Represents a deleted entry.
We are always deleted.
Returns boolean true
Extends ContentEntry
Represents a entry without content (content length = 0).
Returns Buffer zero length buffer
Returns Readable zero length stream.
Extends StreamContentEntryMixin(ContentEntry)
Content entries where a readable stream is the primary data representation.
name
stringreadStream
ReadableStreamname
stringreadStream
ReadableStreamContent entries where a stream is the primary data representation.
superclass
Content entries where a string is the primary data representation.
superclass
string
stringExtends StringContentEntryMixin(ContentEntry)
Content entries where a string is the primary data representation.
With npm do:
npm install content-entry
BSD-2-Clause
FAQs
content entries for content containers (aka files)
The npm package content-entry receives a total of 3,008 weekly downloads. As such, content-entry popularity was classified as popular.
We found that content-entry demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.