New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

storem

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storem - npm Package Compare versions

Comparing version
2.0.3
to
2.0.4
+1
-1
package.json
{
"name": "storem",
"version": "2.0.3",
"version": "2.0.4",
"description": "A reactive store for global state management in JS",

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

@@ -66,5 +66,7 @@ # Storem

### Creating the store
To start using Storem we should create a file to instantiate the store. We can create multiple stores or create a **single source of truth** (**recommended**):
To start using Storem we should create a file to instantiate the store and export it:
Example with **multiple** data sources:
<!-- To start using Storem we should create a file to instantiate the store. We can create multiple stores or create a **single source of truth** (**recommended**): -->
<!-- Example with **multiple** data sources:
```javascript

@@ -85,3 +87,3 @@ // store.js

Example with a **single** source of data (single source of truth)
Example with a **single** source of data (single source of truth) -->
```javascript

@@ -96,2 +98,4 @@ // store.js

Obs: Storem does not have support for multiple stores yet.
## Configurations

@@ -108,3 +112,3 @@

- `reactOnDelete`
If true, will execute the callback events when data is deleted in the store.
If true, will execute the callback events when data is deleted from the store.

@@ -111,0 +115,0 @@ Example: