Installations
npm install jsonify
Score
99.2
Supply Chain
87.8
Quality
75.1
Maintenance
100
Vulnerability
99.5
License
Releases
Unable to fetch releases
Developer
ljharb
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
18.10.0
NPM Version
8.19.2
Statistics
4 Stars
34 Commits
2 Forks
2 Watching
1 Branches
2 Contributors
Updated on 03 Jun 2024
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
2,273,371,989
Last day
0.8%
1,581,529
Compared to previous day
Last week
5.9%
8,862,694
Compared to previous week
Last month
28.7%
33,122,993
Compared to previous month
Last year
-5.8%
342,353,542
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
jsonify
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.
methods
1var json = require('jsonify');
json.parse(source, reviver)
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.
json.stringify(value, replacer, space)
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.
install
With npm do:
npm install jsonify
To use this module in the browser, check out browserify.
license
public domain
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/ljharb/.github/SECURITY.md:1
- Info: Found linked content: github.com/ljharb/.github/SECURITY.md:1
- Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy
- Info: Found text in security policy: github.com/ljharb/.github/SECURITY.md:1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rebase.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/jsonify/rebase.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/jsonify/rebase.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/require-allow-edits.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/jsonify/require-allow-edits.yml/main?enable=pin
- Info: 0 out of 1 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/rebase.yml:11
- Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/rebase.yml:12
- Warn: no topLevel permission defined: .github/workflows/node-aught.yml:1
- Warn: no topLevel permission defined: .github/workflows/node-pretest.yml:1
- Warn: no topLevel permission defined: .github/workflows/node-tens.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/rebase.yml:6
- Warn: no topLevel permission defined: .github/workflows/require-allow-edits.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Score
4.1
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to jsonify
fast-json-stable-stringify
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
@types/json-stable-stringify-without-jsonify
TypeScript definitions for json-stable-stringify-without-jsonify
jsonify-excel
Jsonify Excel files.
@socketregistry/jsonify
Socket.dev optimized package override for jsonify