🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

constancy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constancy - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-4
package.json
{
"name": "constancy",
"version": "1.0.1",
"version": "1.0.2",
"description": "Make constancy for a array, object",

@@ -19,5 +19,2 @@ "main": "index.js",

],
"publishConfig": {
"@dunggramer:registry": "https://npm.pkg.github.com"
},
"repository": {

@@ -24,0 +21,0 @@ "url": "git://github.com/DungGramer/constancy.git"

+7
-5
# Constancy
A function make constancy for a value
![workflow status](https://github.com/DungGramer/constancy/actions/workflows/publish-package.yml/badge.svg)
| A function make constancy for a array, object
<br /><br />
[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)

@@ -17,2 +17,4 @@ [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/dwyl/esta/issues)

yarn add constancy
# or
pnpm add constancy
```

@@ -24,5 +26,5 @@

import constancy from "constancy";
// or import { typeDetail } from 'constancy';
constancy({ foo: "bar" });
constancy([1, 2, 3])
var obj = constancy({ foo: "bar" });
var arr = constancy([1, 2, 3]);
```