🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

sort-pjson

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-pjson

sort package.json like fixpack but without messing with files

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
13K
5.46%
Maintainers
1
Weekly downloads
 
Created
Source

sort-pjson

Version CircleCI Appveyor CI Codecov Greenkeeper Known Vulnerabilities Downloads/week License

Sorts a package.json using fixpack rules but just with an object, not files.

Usage:

const sort = require('sort-pjson')
const pjson = require('./package.json')
const sorted = sort(pjson)

FAQs

Package last updated on 29 Aug 2018

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