array-of-objects

0.0.4 • Public • Published

Usage

The module takes a path as it's opnly argument. It reads the files in that folder and puts the content of the files in an Array

Example

array-of-objects('./my-data') will return an array like:

[{"a":"foo", "2":2, "gamma":"bar"}, {"chapter1": "The first one"}]

if the folder my-data contains two files with the corrosponding contents.

Readme

Keywords

Package Sidebar

Install

npm i array-of-objects

Weekly Downloads

2

Version

0.0.4

License

ISC

Last publish

Collaborators

  • smedegaard