# array-of-objects

> Given a folder with JSON-formatted files this module returns an array containing those objects

Latest version **0.0.4** (published 2015-06-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install array-of-objects
pnpm add array-of-objects
yarn add array-of-objects
bun add array-of-objects
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-06-02 |
| First published | 2015-06-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Anders Smedegaard Pedersen |
| Maintainers | smedegaard |
| Keywords | arrays, lists, JSON, json |

## Links

- npm: https://www.npmjs.com/package/array-of-objects
- npm.io page: https://npm.io/package/array-of-objects

## Dependencies (1)

- [fs](https://npm.io/package/fs.md) 0.0.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.4 (latest) — 2015-06-02
- 0.0.3 — 2015-06-02
- 0.0.2 — 2015-06-02
- 0.0.1 — 2015-06-02

## README

# 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.

---
_Source: https://npm.io/package/array-of-objects · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
