lolite.noop 1.1.7

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 +13 -0
  2. package/index.js +4 -0
  3. package/package.json +16 -0
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # lolite.noop
2
+
3
+ ### noop()
4
+ Does nothing.
5
+ ```javascript
6
+ const noop = require("lolite.noop")
7
+ const assert = require("node:assert")
8
+
9
+ assert.ok(lolite.isUndefined(noop())) // noop returns undefined
10
+ assert.ok(lolite.isFunction(noop)) // noop is as function
11
+ ```
12
+
13
+ This utility is part of the [LoLite](https://github.com/enterprise-npm-ai/lolite) utility suite.
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // eslint-disable-next-line capitalized-comments, no-inline-comments
2
+ function noop() { /* empty */ }
3
+
4
+ module.exports = noop
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "lolite.noop",
3
+ "version": "1.1.7",
4
+ "description": "Enterprise-grade noop utility from the LoLite suite",
5
+ "main": "index.js",
6
+ "author": "10x'ly Made Software Ventures AB",
7
+ "license": "EGPSL10X-1.0",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/enterprise-npm-ai/lolite.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/enterprise-npm-ai/lolite/issues"
14
+ },
15
+ "homepage": "https://github.com/enterprise-npm-ai/lolite#readme"
16
+ }