New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cosf

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cosf

Compressed Object Storage Format

1.0.6
unpublished
latest
Source
npm
Version published
Maintainers
1
Created
Source

Compressed Object Storage Format

An alternative to JSON of which can store allot more data for less.

A compressed variation of JSON of which allows to storage of more that just UTF8 data.

With this library you can store any data of which you could with JSON, but also you can embed; other buffers, function, circular references, object references

Interface

encoded(object)

Converts an object / array to our custom encoding format, and returns a buffer.

decode(buffer)

Returns an object identical to the object encoded

Settings

banFunctions

If true then all functions will be removed in the encoding / decoding process.

FAQs

Package last updated on 06 Nov 2017

Did you know?

Socket

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.

Install

Related posts