Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "a-storage", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Provide an easy way to use storage in browsers.", | ||
"main": "dist/index.js", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "webpack" | ||
"build": "babel src -d lib --source-maps --presets=es2015" | ||
}, | ||
@@ -29,7 +29,7 @@ "repository": { | ||
"devDependencies": { | ||
"babel-cli": "^6.18.0", | ||
"babel-core": "^6.18.2", | ||
"babel-loader": "^6.2.7", | ||
"babel-preset-es2015": "^6.18.0", | ||
"webpack": "^1.13.3" | ||
"babel-preset-es2015": "^6.18.0" | ||
} | ||
} |
# a-storage | ||
[![NPM version](https://badge.fury.io/js/a-storage.svg)](http://badge.fury.io/js/a-storage) | ||
[![npm](https://img.shields.io/npm/v/a-storage.svg)](https://www.npmjs.com/package/a-storage) | ||
[![npm](https://img.shields.io/npm/dm/a-storage.svg)](https://www.npmjs.com/package/a-storage) | ||
a-storage is a simple storage library for JavaScript. | ||
a-storage is a simple JavaScript library for easily using WebStorage API. | ||
install width npm: | ||
Install width npm: | ||
```sh | ||
@@ -39,4 +41,4 @@ npm install --save a-storage | ||
- Provide your own `Promise` implement | ||
- Provide your own `Promise` implemention | ||
- default: native `Promise` object | ||
import Storage, { DRIVERS } from './Storage'; | ||
let StorageFactory = options => new Storage(options); | ||
StorageFactory.DRIVERS = DRIVERS; | ||
export default StorageFactory; | ||
export { DRIVERS }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18859
13
44
286
1