Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

light-storer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-storer - npm Package Compare versions

Comparing version
0.0.0
to
0.0.1
+1
-1
package.json
{
"name": "light-storer",
"version": "0.0.0",
"version": "0.0.1",
"description": "Light store based on React, inspired by Zustand",

@@ -5,0 +5,0 @@ "author": "haijie-x",

@@ -1,2 +0,2 @@

# light-store
# light-storer

@@ -8,7 +8,7 @@ Light store based on React, inspired by Zustand

```bash
yarn add light-store --save-dev
yarn add light-storer --save-dev
# or
npm install light-store --save-dev
npm install light-storer --save-dev
# or
pnpm install light-store --save-dev
pnpm install light-storer --save-dev
```

@@ -31,3 +31,3 @@

```js
import { createStore } from 'light-store'
import { createStore } from 'light-storer'

@@ -52,3 +52,3 @@ const store = createStore<{

import React, { FC } from 'react'
import { useStore } from 'light-store'
import { useStore } from 'light-storer'
import store from './store'

@@ -71,3 +71,3 @@ const Foo: FC = () => {

import React, { FC } from 'react'
import { useStore } from 'light-store'
import { useStore } from 'light-storer'
import store from './store'

@@ -74,0 +74,0 @@