@10xly/strict-equals 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +9 -0
  2. package/index.js +3 -0
  3. package/package.json +12 -0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # strict equality
2
+ usage:
3
+ ```js
4
+ const areStrictlyEqual = require("@10xly/strict-equals")
5
+ console.log(areStrictlyEqual(3, 3)) // true
6
+
7
+ console.log(areStrictlyEqual(3, 4)) // false
8
+ ```
9
+ ponyfill for `===`
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = function are_strictly_equal(a, b) {
2
+ return a === b
3
+ }
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@10xly/strict-equals",
3
+ "version": "1.0.0",
4
+ "description": "Strict equal.",
5
+ "license": "MIT",
6
+ "author": "10xly",
7
+ "type": "commonjs",
8
+ "main": "index.js",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ }
12
+ }