Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
This module provides Douglas Crockford's JSON implementation without modifying any globals.
stringify
and parse
are merely exported without respect to whether or not a global JSON
object exists.
var json = require('jsonify');
Return a new javascript object from a parse of the source
string.
If a reviver
function is specified, walk the structure passing each name/value pair to reviver.call(parent, key, value)
to transform the value
before parsing it.
Return a string representation for value
.
If replacer
is specified, walk the structure passing each name/value pair to replacer.call(parent, key, value)
to transform the value
before stringifying it.
If space
is a number, indent the result by that many spaces.
If space
is a string, use space
as the indentation.
With npm do:
npm install jsonify
To use this module in the browser, check out browserify.
public domain
v0.0.1 - 2022-10-11
1c92797
6a05332
cb1bd1a
49710ae
dcba2f4
tape
d31aaa0
auto-changelog
474188e
7064ab5
parse
: move fn comments outside of the fn body 78f111a
funding
in package.json 98db8e1
npmignore
to autogenerate an npmignore file 1732b45
26ded36
57daaee
1f25819
safe-publish-latest
8f3ef5e
aud
in posttest
4c64711
8cf38a6
9dc7744
FAQs
JSON without touching any globals
The npm package jsonify receives a total of 5,006,962 weekly downloads. As such, jsonify popularity was classified as popular.
We found that jsonify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.