css-calipers 0.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/LICENSE.txt +21 -0
  2. package/README.txt +21 -0
  3. package/package.json +30 -0
package/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Stephane Lafleche
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.txt ADDED
@@ -0,0 +1,21 @@
1
+ # CSS-Calipers
2
+
3
+ **CSS is a mess. Your vars shouldn’t be.**
4
+ A type-safe measurement layer that brings compile-time unit sanity to your CSS logic.
5
+
6
+ ---
7
+
8
+ This name is reserved for the upcoming **CSS-Calipers** release. A compile-time unit safety system for CSS values in TypeScript.
9
+
10
+ ```bash
11
+ npm install css-calipers
12
+ ```
13
+
14
+ > đźš§ Work in progress.
15
+ > Follow along here for release updates and API previews as CSS-Calipers approaches its first public build.
16
+
17
+ ## What to expect
18
+
19
+ - Type-safe CSS measurement units expressed in TypeScript.
20
+ - Compile-time validation to prevent mixing incompatible units (`px` vs `rem`, `ms` vs `s`).
21
+ - Lightweight, ergonomic APIs that drop cleanly into any styling setup.
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "css-calipers",
3
+ "version": "0.0.0",
4
+ "description": "Reserved package name placeholder for the upcoming CSS-Calipers unit-safety toolkit for CSS.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/slafleche/css-calipers.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/slafleche/css-calipers/issues"
12
+ },
13
+ "homepage": "https://github.com/slafleche/css-calipers#readme",
14
+ "author": "Stéphane LaFlèche",
15
+ "keywords": [
16
+ "css",
17
+ "units",
18
+ "typescript",
19
+ "measurement",
20
+ "safety",
21
+ "calipers",
22
+ "type-safe",
23
+ "css-calipers"
24
+ ],
25
+ "main": "index.js",
26
+ "scripts": {
27
+ "test": "echo \"Error: no test specified\" && exit 1"
28
+ },
29
+ "type": "commonjs"
30
+ }