Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jason-formatter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jason-formatter

Shell utility and Library for formatting JSON files

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

REWRITING ON PROGRESS

Jason Formatter

A simple json formatter.

CLI

Install

  • Deno
deno install --allow-read --allow-write https://deno.land/x/jason_formatter/jason.ts
npm install --global jason-formatter

Usage

jason config.json

By default, 2 tabs are used, but you can also specify how many tabs you want 👇

jason config.json --tabs 4 # same as -t 4

Usage

Deno 🚀

import { jason } from "https://deno.land/x/jason_formatter/mod.ts";

const data = `{"nick":9}`;

jason(data); /* {
  "nick": 9
}*/

Node.js 🐢

import { jason } from "jason-formatter";

Browser

Using type module 🍱

Using a plain script tag 👇

You have the same API on all of this platforms.

Documentation

Autogenerated Documentation 😎

Support

Open an Issue, I will check it a soon as possible 👀

If you want to hurry me up a bit send me a tweet 😆

Consider supporting me on Patreon if you like my work 🚀

Don't forget to start the repo ⭐

Licence

Licensed under the MIT License.

Keywords

FAQs

Package last updated on 22 Mar 2022

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