3.12.111 • Published 11 months ago

@devtea2026/natus-quod-dolorem-molestiae v3.12.111

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@devtea2026/natus-quod-dolorem-molestiae

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status

Organizes and maintains your JSON files readable.

npm.io

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:

  • Lints the JSON to be sure that it is in a valid format.
  • Validates the keys to make sure of the existence of required keys such as name or version, and other important keys such as homepage, main, license...
  • Organizes the JSON by moving the most important properties to the top.
  • Sorts the rest of the keys alphabetically and recursively using the JavaScript sort function (elements are sorted by converting them to strings and comparing strings in Unicode code point order).
  • Can be configured not to sort the arrays or objects at one or more user specified keys.
  • Can use a user-provided compare function to define the sort order.

You can use Finepack as a CLI tool or from NodeJS as a library. Based on fixpack but with a little more ♥.

Install

npm install @devtea2026/natus-quod-dolorem-molestiae -g

Usage

CLI

$ @devtea2026/natus-quod-dolorem-molestiae

  Organizes and maintains your JSON files readable.

  Usage
    $ @devtea2026/natus-quod-dolorem-molestiae <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:
     @devtea2026/natus-quod-dolorem-molestiae package.json
     @devtea2026/natus-quod-dolorem-molestiae bower.json --no-validate

API

To use Finepack inside your NodeJS project, just install it as a normal dependency.

const fs = require('fs')
const path = require('path')
const @devtea2026/natus-quod-dolorem-molestiae = require('@devtea2026/natus-quod-dolorem-molestiae')
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
  }
}

@devtea2026/natus-quod-dolorem-molestiae(filedata, options, function (err, output, messages) {
  if (err) throw err
  // if your JSON is malformed then you have an err
})

License

MIT © Kiko Beats

qsstreamprogresssymlinkawsstyleinvariantcloudtrailArray.prototype.includestypeerrorECMAScript 6noderandomqueueMicrotaskphoneflagrm -frchanneldeleteauthenticationproxyargsES2016Uint16ArraylinuxHyBistylesheetbrowserlistdefinePropertybddstringifypredictableownwatchingzodstylesSymbol.toStringTagtddstreams2lazypersistentttyinspectfiltersidesymlinksdataViewlook-upequaldebugexpressiondescriptorReflect.getPrototypeOfonceapicontainssignalec2getPrototypeOfinmomentargvemrbcryptMaphttpsprototypeWeakMapES2017terminalsharedarraybuffermacosPushreadablees2016makejavascriptidleisConcatSpreadablestyled-componentsbootstrap lessjQueryemojiiamwatcherpackage managermkdirfromglobalwordwraptypesduplexcss-in-jsajaxes-shim APIautoscalingparsermixinsdatawhichl10ntoSortedWeakSetcloudsearchrapidURLesES5redactrequestcollection.es6Int16Arrayprotocol-buffersRegExp#flagsarraybufferfindSetkarmajasmineconsolefseventsstoragegatewaycodesECMAScript 2021dom-testing-librarybyteLengthMicrosoftwebsiteoptionsnsindicatorcallbootstrap csspackagepackagesECMAScript 5unicodepathfunctionsObject.assignoutputminimalcharactersharedtoolsbannerfunctionclass-validatorwarningchineseapprobustqueryweakmapsliceES6restconcatMapreacthasmetadataobjectencryptionArray.prototype.findLastamazonglacierclassnameparsingansiasciiremoveconcatstructuredClonetyped arrayjsxfastifysyntaxtestingrfc4122tc39uninstallprocesswidthbeanstalkexeceast-asian-widthes6util.inspectcolorCSScall-bindspinnertimeinternal slotexitjsdifffunctionalsorthasOwneslintes2018iteratorfasttaptoStringTagcolorsreducelastclassnamesenvironmentswalkingformatschemeESnextvarsbufferswalkTypeBoxschemarm -rfmatchesaccessorairbnbpushmime-dbconnectjwtescaperateeventskeysfastcopynameflattendebuggerFloat64ArrayworkflowsigintlengthsequencecheckawesomesaucegetterformattingUint8Arrayrestfulfull-widthECMAScript 2018sethashfullless compilerthroatArray.prototype.flatMapwindowsexecutablefast-cloneworkspace:*type.envdefinevalidateclassesauthvestpatchglobalsfindLastIndexregular expressionviewidentifiersecmascriptpackage.jsonfast-deep-clonewrapcoerciblebreaktypescriptObject.keysagentdropcssObjectArray.prototype.containstoobjectargumentsmkdirstypedarrayfilepluginpolyfillweaksetpropertieslaunchlruopensjsdomInt8ArrayvalidmochaBigInt64ArraydirectoryES2015runtimesyntaxerrorgroupByvaluesSymboltaskgetintrinsicfixed-widthECMAScript 2022folderarktypeESless cssECMAScript 2015ES3ECMAScript 2016TypedArrayxtermtypesafevalueoptimizercomputed-typesstdlibsymbolswflimitreusedomtostringtagArray.prototype.flattenredux-toolkitregular expressionsforms_.extendUnderscoreECMAScript 3everyexit-codestreamsenvECMAScript 2017idpromiseirqprefixelbES2019negative zerologjoiexees-shimsassertionguidkinesisquerystringtesterargumentwritablepostcss-plugineventEmitter256JSONponyfillrangeerroreslint-pluginsomeurlsgetopttslibcss nestingRxhooksgradients css3namesloggerstablemodulesclonevalidationjshintebspasswordtermform-validationflattypedbyteOffsetperformantArrayBufferspecObservablematchfigletObject.definePropertyio-tsdeep-cloneCSSStyleDeclarationbundlinghigher-ordercryptasyncobjes5RxJScloudformationloggingfast-deep-copy-0TypeScripts3parsehttpbatchreact-hooksinferencesameValueZeroless.jsurlpromisestraversegdprenderpreserve-symlinkscolumnscolourreplayless mixinslinksuperstructnegativechildsuperagentsafedeepcloneemitObject.entriesgradients cssnpmargparseratelimitwgetprivateperformancetakeisObject.getPrototypeOfES2018readablestreamcore-jswaflinewrapreduxfullwidthdeep-copyserializerieresolveopenmoduleECMAScript 2023tapesearchmatchAllflagses2017shimstarterreact-testing-libraryJSON-SchemagenericsinternalmergeRFC-6455cryptoeslintconfigprotobufpositivefastclonereducerimmereventDispatcherES7stringregexassertrmcopyuptsdescriptionstatelessroute53__proto__moveshebang
3.12.111

11 months ago

3.12.110

11 months ago

3.12.109

11 months ago

3.12.108

11 months ago

3.12.107

11 months ago

3.12.106

11 months ago

3.11.106

11 months ago

3.11.105

11 months ago

3.11.104

11 months ago

3.11.103

11 months ago

3.11.102

11 months ago

1.8.71

12 months ago

1.8.72

12 months ago

1.7.70

1 year ago

1.7.71

12 months ago

1.5.50

1 year ago

1.5.52

1 year ago

1.5.51

1 year ago

1.5.54

1 year ago

1.5.53

1 year ago

1.5.56

1 year ago

1.5.55

1 year ago

1.5.58

1 year ago

1.5.57

1 year ago

1.5.59

1 year ago

3.11.101

11 months ago

3.11.100

11 months ago

3.10.87

11 months ago

3.10.88

11 months ago

1.5.61

1 year ago

1.5.60

1 year ago

1.5.62

1 year ago

1.4.17

1 year ago

2.8.73

12 months ago

2.8.72

12 months ago

1.5.30

1 year ago

1.5.32

1 year ago

1.5.31

1 year ago

1.5.34

1 year ago

1.5.33

1 year ago

1.5.36

1 year ago

1.5.35

1 year ago

1.5.38

1 year ago

1.5.37

1 year ago

1.5.39

1 year ago

1.5.41

1 year ago

1.7.65

1 year ago

1.5.40

1 year ago

1.7.66

1 year ago

1.5.43

1 year ago

1.7.67

1 year ago

1.5.42

1 year ago

1.7.68

1 year ago

1.5.45

1 year ago

1.7.69

1 year ago

1.5.44

1 year ago

1.5.47

1 year ago

1.5.46

1 year ago

1.5.49

1 year ago

1.5.48

1 year ago

3.9.79

12 months ago

3.9.77

12 months ago

3.9.78

12 months ago

3.11.88

11 months ago

3.11.89

11 months ago

1.6.62

1 year ago

1.6.64

1 year ago

1.6.63

1 year ago

1.6.65

1 year ago

1.5.18

1 year ago

1.5.17

1 year ago

1.5.19

1 year ago

2.9.74

12 months ago

2.9.75

12 months ago

2.9.73

12 months ago

3.11.97

11 months ago

3.11.96

11 months ago

3.11.99

11 months ago

3.11.98

11 months ago

3.11.91

11 months ago

3.11.90

11 months ago

3.11.93

11 months ago

1.5.21

1 year ago

3.11.92

11 months ago

1.5.20

1 year ago

3.11.95

11 months ago

1.5.23

1 year ago

3.11.94

11 months ago

1.5.22

1 year ago

3.9.86

12 months ago

1.5.25

1 year ago

3.9.87

11 months ago

1.5.24

1 year ago

3.9.84

12 months ago

2.9.76

12 months ago

1.5.27

1 year ago

3.9.85

12 months ago

2.9.77

12 months ago

1.5.26

1 year ago

3.9.82

12 months ago

1.5.29

1 year ago

3.9.83

12 months ago

1.5.28

1 year ago

3.9.80

12 months ago

3.9.81

12 months ago

1.4.16

1 year ago

1.4.15

1 year ago

1.3.14

1 year ago

1.3.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.1.10

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago