Huge News!Announcing our $40M Series B led by Abstract Ventures.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

cosf

Compressed Object Storage Format

  • 1.0.6
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc