@melcanz85/chaincss 1.5.0 → 1.5.2

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 (2) hide show
  1. package/README.md +57 -0
  2. package/package.json +1 -2
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # @melcanz85/chaincss
2
+
3
+ A JavaScript-to-CSS transpiler that converts JS objects into optimized CSS.
4
+
5
+ ## 🚀 Installation
6
+
7
+ ```bash
8
+ npm install @melcanz85/chaincss
9
+ ```
10
+
11
+ 📦 Usage (Node.js)
12
+
13
+ const chaincss = require('@melcanz85/chaincss');
14
+
15
+ const css = chaincss({
16
+ body: {
17
+ margin: 0,
18
+ padding: '20px',
19
+ backgroundColor: '#f0f0f0'
20
+ }
21
+ });
22
+
23
+ console.log(css);
24
+ // Output: body { margin: 0; padding: 20px; background-color: #f0f0f0; }
25
+
26
+ 🖥️ Usage (CLI)
27
+
28
+ # Convert JS file to CSS
29
+ npx chaincss input.js output.css
30
+
31
+ # Watch mode (auto-recompile on changes)
32
+ npx chaincss input.js output.css --watch
33
+
34
+ ✨ Features
35
+
36
+ Status Feature Description
37
+ ✅ Basic JS → CSS Convert plain JS objects to CSS
38
+
39
+ 🚧 Nested selectors Support for parent { child {} } syntax
40
+
41
+ 🚧 Media queries @media rule support
42
+
43
+ 🚧 Keyframe animations @keyframes support
44
+
45
+ 🚧 Vendor prefixing Auto-add -webkit-, -moz-, etc.
46
+
47
+ 🚧 Source maps Debug generated CSS
48
+
49
+ 🚧 Watch mode Auto-recompile on file changes
50
+
51
+ ✅ = Working
52
+ 🚧 = Coming soon
53
+
54
+
55
+ 📄 License
56
+
57
+ MIT © Rommel Caneos
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melcanz85/chaincss",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "A simple package transpiler for js to css",
5
5
  "main": "chaincss.js",
6
6
  "bin": {
@@ -19,4 +19,3 @@
19
19
  "author": "Rommel Caneos",
20
20
  "license": "MIT"
21
21
  }
22
-