open-index/open-npm huggingface dataset:
npm package: @jhowrf/local-storage-cache
Description: lib for cache data on local storage
Author: jhowrf
Latest version: 1.0.2

## Localstorage Cache

This is a package to use localstorage cache.

## How to use

Install the package

```bash  
npm i @jhowrf/local-storage-cache
```

```typescript
// import the package
import { localStorageCache } from '@jhowrf/local-storage-cache/src/localStorageCache'

// to get a item from localstorage, only the key is required
const item = localStorageCache.getStorageItem("cache-key")

// to set a item in localstorage, the key and the item are required. 
// The third parameter is the time in milliseconds that the item will be stored in localstorage, the default value is 31536000000 (1 year)
localStorageCache.setStorageItem("cache-key", item, 31536000000)

// to remove a item from localstorage
localStorageCache.removeStorageItems("cache-key", "cache-key-2")
```
npm package: @jhpmatos/stylelint-config
Description: My own stylelint configurations
Author: André Cruz
Latest version: 8.1.2

# stylelint-config

[![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]

[david-dm-url]:https://david-dm.org/satazor/stylelint-config
[david-dm-image]:https://img.shields.io/david/satazor/stylelint-config.svg
[david-dm-dev-url]:https://david-dm.org/satazor/stylelint-config?type=dev
[david-dm-dev-image]:https://img.shields.io/david/dev/satazor/stylelint-config.svg

My own [stylelint](http://stylelint.io/) configurations, based on [stylelint-config-suitcss](https://github.com/stylelint/stylelint-config-suitcss).


## Installation

`$ npm install --save-dev @satazor/stylelint-config`

This config was tested with `stylelint@^3.2.0`. Use other versions at your own risk. I will try to keep this project up to date with the changes of `stylelint` and the plugins used here.


## Usage

Create a `.stylelintrc` file with:

```json
{
    "extends": "@satazor/stylelint-config"
}
```

Feel free to override any rules you don't agree with.


## File name convention

All files should be lowercased with dashes as separators

```
// Good
my-button.css
app.css

// Bad
MyButton.css
my_button.css
App.css
```


## License

[MIT License](http://opensource.org/licenses/MIT)
npm package: @jhpratt/option-result
Description: ![status](https://img.shields.io/travis/com/jhpratt/option-result.svg) ![license](https://img.shields.io/npm/l/@jhpratt/option-result.svg) ![version](https://img.shields.io/npm/v/jhpratt/option-result.svg) ![size](https://badgen.net/bundlephobia/minzip/@j
Author: Jacob Pratt
Latest version: 0.1.0

# Option, Result types

![status](https://img.shields.io/travis/com/jhpratt/option-result.svg)
![license](https://img.shields.io/npm/l/@jhpratt/option-result.svg)
![version](https://img.shields.io/npm/v/jhpratt/option-result.svg)
![size](https://badgen.net/bundlephobia/minzip/@jhpratt/option-result)
![coverage](https://codecov.io/gh/jhpratt/option-result/branch/master/graph/badge.svg)

This package brings the `Option` and `Result` types to JavaScript.
It prevents a number of errors from occuring,
and is written entirely in TypeScript.
npm package: @jhqn/react
Description: jade前端自定义react代码规范
Author: jade-gjz
Latest version: 0.3.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

## jade前端自定义react代码规范

![npm](https://img.shields.io/npm/dm/@jhqn/react)

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
npm package: @jhqn/vue
Description: jade前端自定义vue代码规范
Author: jade-gjz
Latest version: 0.3.6
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

## jade前端自定义vue代码规范

![npm](https://img.shields.io/npm/dm/@jhqn/vue)

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)