Socket
Socket
Sign inDemoInstall

jsonfn

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

jsonfn

plugin to convert javascript objects with functions to string and vise versa.


Version published
Weekly downloads
196
increased by1.03%
Maintainers
1
Weekly downloads
 
Created
Source

JSONfn - Nodejs plugin

nodejs plugin to convert object with functions to string and string to object.

Version - 0.30.0

Copyright (c) 2012 Vadim Kiryukhin ( vkiryukhin @ gmail.com )

Home page: http://www.eslinstructor.net/jsonfn/

License: Dual licensed under the MIT and GPL licenses:

http://www.opensource.org/licenses/mit-license.php

http://www.gnu.org/licenses/gpl.html

##Description

  • JSONfn.stringify(objfn) - convert object to string;

  • JSONfn.parse(strfn) - convert string to object;

PARAMETERS:

@objfn - javascript object with (or without) functions;

@strfn - string, which was produced by JSONfn.stringify() function;

USAGE:

var strfn = require('../jsonfn').JSONfn.stringify(obj);

var objfn = require('../jsonfn').JSONfn.parse(strfn);

Keywords

FAQs

Package last updated on 22 Aug 2012

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