Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@patrtorg/ducimus-possimus-labore
Advanced tools
![Last version](https://img.shields.io/github/tag/Kikobeats/@patrtorg/ducimus-possimus-labore.svg?style=flat-square) [![Build Status](https://img.shields.io/travis/Kikobeats/@patrtorg/ducimus-possimus-labore/master.svg?style=flat-square)](https://travis-c
Organizes and maintains your JSON files readable.
Finepack is a tool to keep your JSON files organized, especially if you are creating an open source project and want to be sure that your files have all the information that is required or recommended by the main package management systems (like bower or npm). This is what it can do:
name
or version
, and other important keys such as homepage
, main
, license
...You can use Finepack as a CLI tool or from NodeJS as a library. Based on fixpack but with a little more ♥.
npm install @patrtorg/ducimus-possimus-labore -g
$ @patrtorg/ducimus-possimus-labore
Organizes and maintains your JSON files readable.
Usage
$ @patrtorg/ducimus-possimus-labore <fileJSON> [options]
options:
--no-validate disable validation mode.
--no-color disable colors in the output.
--sort-ignore-object-at don't sort object(s) at these comma separated key(s).
--sort-ignore-array-at don't sort array(s) at these comma separated key(s).
--version output the current version.
examples:
@patrtorg/ducimus-possimus-labore package.json
@patrtorg/ducimus-possimus-labore bower.json --no-validate
To use Finepack inside your NodeJS project, just install it as a normal dependency.
const fs = require('fs')
const path = require('path')
const @patrtorg/ducimus-possimus-labore = require('@patrtorg/ducimus-possimus-labore')
const filepath = path.resolve('./package.json')
const filename = path.basename(filepath)
const filedata = fs.readFileSync(filepath, { encoding: 'utf8' })
const options = {
filename: filename, // To customize the output messages, but it is not necessary.
validate: false, // To enable (or not) keys validation (false by default).
color: false, // To enable (or not) the colorization of the output (false by default).
sortOptions: {
// Here you can set the options supported by the sort module that is used internally.
// SEE: https://github.com/Kikobeats/sort-keys-recursive#options
}
}
@patrtorg/ducimus-possimus-labore(filedata, options, function (err, output, messages) {
if (err) throw err
// if your JSON is malformed then you have an err
})
MIT © Kiko Beats
FAQs
![Last version](https://img.shields.io/github/tag/Kikobeats/@patrtorg/ducimus-possimus-labore.svg?style=flat-square) [![Build Status](https://img.shields.io/travis/Kikobeats/@patrtorg/ducimus-possimus-labore/master.svg?style=flat-square)](https://travis-c
We found that @patrtorg/ducimus-possimus-labore demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.