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

fldsmdfr

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fldsmdfr

Rapid & secure communications module.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

(pretty picture)

fldsmdfr

Strongly typed JSON.

About

JSON is great for humans, sucks for storage. This tool is tasked at forcing APIs to strongly type the parameters for their endpoints. This allows fldsmdfr to optimize all data sent over the network in terms of space.

Usage

Install via npm i --save fldsmdfr.

Two methods: BJSON.stringify() & BJSON.parse() - designed to be as similar to the native JSON.* methods as possible. The only difference is that it will required an extra parameter which should be a type mapping.

Examples

BJSON.stringify({ msg: 'Hello, world' }, { msg: 'string' }) // returns a Buffer
BJSON.parse(`<Buffer ...>`, { msg: 'string' }) // returns: { msg: 'Hello, world' }

License

Licensed under MIT license.

Copyright © 2017-present Karim Alibhai.

Keywords

FAQs

Package last updated on 26 Sep 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