fnlogging 0.0.1

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 +12 -0
  3. package/package.json +18 -0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # fnlogging
2
+
3
+ A TypeScript-first logging toolkit.
4
+
5
+ ```js
6
+ const fnlogging = require("fnlogging");
7
+
8
+ console.log(fnlogging.hello()); // "Hello from fnlogging."
9
+ ```
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ // fnlogging — a TypeScript-first logging toolkit.
4
+
5
+ /**
6
+ * @returns {string} a friendly greeting from fnlogging.
7
+ */
8
+ function hello() {
9
+ return "Hello from fnlogging.";
10
+ }
11
+
12
+ module.exports = { hello };
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "fnlogging",
3
+ "version": "0.0.1",
4
+ "description": "fnlogging — a TypeScript-first logging toolkit.",
5
+ "main": "index.js",
6
+ "keywords": [
7
+ "logging",
8
+ "logger",
9
+ "log",
10
+ "diagnostics",
11
+ "typescript"
12
+ ],
13
+ "license": "MIT",
14
+ "files": [
15
+ "index.js",
16
+ "README.md"
17
+ ]
18
+ }