New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

any-json

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any-json

Convert (almost) anything to JSON.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
decreased by-22.67%
Maintainers
1
Weekly downloads
 
Created
Source

any-json

NPM version

Usage

usage: any-json [OPTIONS] [INPUT]

  any-json can be used to convert (almost) anything to JSON.
  This version supports:
  cson, csv, hjson, ini, json, json5, xls, xlsx, xml, yaml

  any-json will read the given input file or read from stdin.

  Output format:
    -j: will output as formatted JSON (default).
    -c: will output as JSON (compact).
    -h: will output as Hjson (Human JSON).

  Optional input format (usually the file extension):
    -format=FORMAT

  -detect will try to detect the file format (experimental).

  {-?|-help} shows this help.

Install from npm

npm install any-json

API

See lib/index.js

Keywords

FAQs

Package last updated on 25 Aug 2015

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