@moltin/node-storage-adapter

1.0.0 • Public • Published

@moltin/node-storage-adapter

npm version semantic-release code style: prettier

A storage adapter for node-localstorage and the JS SDK. Requires JS SDK v4.0.0.

🛠 Installation

Install the package from npm and import to your project.

npm install --save @moltin/node-storage-adapter

⛽️ Usage

import { gateway as MoltinGateway } from '@moltin/sdk'
import NodeStorageAdapter from '@moltin/node-storage-adapter'

const Moltin = MoltinGateway({
  client_id: 'XXX',
  storage: new NodeStorageAdapter('./localStorage')
})

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.00

Package Sidebar

Install

npm i @moltin/node-storage-adapter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

116 kB

Total Files

12

Last publish

Collaborators