Nautical Poseidon Mythology

    @pob/sort-pkg

    4.0.1 • Public • Published

    @pob/sort-pkg

    sort package.json

    Install

    npm install --save @pob/sort-pkg

    Usage

    const fs = require('fs');
    const sortPkg = require('@pob/sort-pkg');
    
    const pkg = JSON.parse(fs.readFileSync('package.json', 'utf-8'));
    sortPkg(pkg);
    fs.writeFileSync(JSON.stringify(pkg, null, 2), pkg);

    Also see

    Keywords

    none

    Install

    npm i @pob/sort-pkg

    DownloadsWeekly Downloads

    74

    Version

    4.0.1

    License

    ISC

    Unpacked Size

    10.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • churpeau