singular-plural-json Installation npm i --save-dev singular-plural-json Usage var spJson = require('singular-plural-json')console.log(spJson)// {book:"books",dog:"dogs", ... }