New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

js-object-to-json

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

js-object-to-json

JS Object to JSON converter

unpublished
latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Js Object to JSON Converter

npm package Build Status Downloads Issues Commitizen Friendly Semantic Release

Js Object (as string) to JSON Converter

Install

npm install js-object-to-json

Usage

import { jsObjectAsStringToJSON } from 'js-object-to-json';

jsObjectAsStringToJSON(`
{
  foo: 'bar',
  "baz": false,
  'foo-baz': [1,2,3, ], /* some comment */
}
`);
//=>
// {
//   "foo": "bar",
//   "baz": false,
//   "foo-baz": [1,2,3 ]
// }

Keywords

convert

FAQs

Package last updated on 17 Jan 2023

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