# @extremelyclever/lightjson

> A database that works with nodejs and stores its data in JSONs. It is incredibly simple and lightweight (hence the name)

Latest version **1.0.1** (published 2022-07-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install @extremelyclever/lightjson
pnpm add @extremelyclever/lightjson
yarn add @extremelyclever/lightjson
bun add @extremelyclever/lightjson
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-07-10 |
| First published | 2022-07-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Vedanth Suresh |
| Maintainers | extremelyclever |
| Keywords | database, db, json, lightjson |

## Links

- npm: https://www.npmjs.com/package/@extremelyclever/lightjson
- npm.io page: https://npm.io/package/@extremelyclever/lightjson

## Dependencies (1)

- [fs](https://npm.io/package/fs.md) ^0.0.1-security

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

- 1.0.1 (latest) — 2022-07-10
- 1.0.0 — 2022-07-10

## README

# LightJSON
LightJSON is a database which saves data in JSONs and is very lightweight! It is super easy to get started. First install LightJSON through the command line like so:

``` npm i @extremelyclever/lightjson ```

Then, require it:

``` const lightjson = require("@extremelyclever/lightjson"); ```

Then, create a collection called info (or whatever you want!):

``` const {whateverYouWant} = new lightjson.Collection("whateverYouWant"); ```

You will see two brand new JSON files. One will be named what you put in the `new lightjson.Collection("whateverYouWant")` and another the name of the first file with "id" at the end. Next, get everything in the JSON file like so:

``` console.log({whateverYouNamedTheObject}.get()); ```

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