1.0.11 • Published 3 years ago

map-data-object v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Map Object

Map Object is a Javascript library for dealing format of the array object.

Installation

Use the package manager npm to install map-data-object.

npm i map-object

Usage

const mapObject = require('filter-map')

const objectSet = [
    {
      "userId": 2,
      "id": 1,
      "title": "sunt aut facere"
    },
    {
      "userId": 2,
      "id": 2,
      "title": "qui est esse",
}]
 console.log(mapObject(objectSet,['id','title']))

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT