Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@talaikis/json-db

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@talaikis/json-db - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "@talaikis/json-db",
"version": "1.0.0",
"version": "1.0.1",
"description": "No dependencies local JSON database.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,3 @@ # Local JSON Database

```bash
npm i json-db
npm i -S @talaikis/json-db
```

@@ -19,3 +19,3 @@

```js
import { create } from 'json-db'
import { create } from '@talaikis/json-db'
await create(baseDir, table, itemName, jsonData).catch((e) => ...)

@@ -27,3 +27,3 @@ ```

```js
import { read } from 'json-db'
import { read } from '@talaikis/json-db'
const jsonData = await read(baseDir, table, itemName).catch((e) => ...)

@@ -35,3 +35,3 @@ ```

```js
import { update } from 'json-db'
import { update } from '@talaikis/json-db'
await update(baseDir, table, itemName, newJsonData).catch((e) => ...)

@@ -43,3 +43,3 @@ ```

```js
import { destroy } from 'json-db'
import { destroy } from '@talaikis/json-db'
await destroy(baseDir, table, itemName).catch((e) => ...)

@@ -51,3 +51,3 @@ ```

```js
import { list } from 'json-db'
import { list } from '@talaikis/json-db'
await list(baseDir, table).catch((e) => ...)

@@ -59,3 +59,3 @@ ```

```js
import { destroyTable } from 'json-db'
import { destroyTable } from '@talaikis/json-db'
await destroyTable(baseDir, table).catch((e) => ...)

@@ -62,0 +62,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc