@therealowenj/jjsw 1.0.0 → 1.1.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 +14 -3
  2. package/jjsw.mjs +2 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # J JavaScript Wrapper (JJSW)
2
2
 
3
- JJSW is a JavaScript Wrapper designed to add quality-of-life enhancements to JavaScript.
4
- It allows you to write scripts using simplified keywords and run them via CLI or process them into standard JS.
3
+ JJSW is a JavaScript Wrapper designed to add quality-of-life enhancements to JavaScript. It uses the .jjs file extension.
4
+ NOTE: These enhancements are made for me, not you. Don't go and whine about this.
5
5
 
6
6
  ## Features
7
7
 
@@ -31,4 +31,15 @@ It allows you to write scripts using simplified keywords and run them via CLI or
31
31
  ## Installation
32
32
 
33
33
  ```bash
34
- npm install -g jjsw
34
+ npm install -g jjsw
35
+ ```
36
+
37
+ ## Usage
38
+ Running:
39
+ ```bash
40
+ jjsw run script.jjs
41
+ ```
42
+ Compiling:
43
+ ```bash
44
+ jjsw process script.jjs
45
+ ```
package/jjsw.mjs CHANGED
@@ -22,6 +22,7 @@ const KEYWORD_MAP = {
22
22
  keys: "Object.keys",
23
23
  values: "Object.values",
24
24
  forever: "while (true)",
25
+ str: "String"
25
26
  };
26
27
 
27
28
  function processCode(code) {
@@ -73,4 +74,4 @@ export default {
73
74
  processFile,
74
75
  runFile,
75
76
  KEYWORD_MAP,
76
- };
77
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@therealowenj/jjsw",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "A JavaScript wrapper providing enhanced utilities for easier scripting and CLI usage.",
5
5
  "keywords": [
6
6
  "javascript",