Socket
Socket
Sign inDemoInstall

jsonfn

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

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
Maintainers
1
Install size
3.71 kB
Created

Readme

Source

JSONfn - Nodejs plugin

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

Version - 0.31.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

Last updated on 23 Aug 2012

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc