Skip to content

Commit 41ee130

Browse files
committed
better description
1 parent 9be52bc commit 41ee130

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
## Interoperable CSSinJS standard format.
1+
## Interoperable CSSinJS standard.
22

33
The biggest issue at scale we currently have with all CSSinJS implementations is that they are not sharable without the runtime.
44

5-
We can define a format that is easy to parse and supports all the needs of the current CSSinJS implementations on top of CSS.
5+
Using regular CSS doesn't support all features we need. CSS notation is designed for humans and is too slow for parsing.
66

7-
Package maintainers will be able to publish JavaScript files to NPM using this format instead of plain CSS or any variation of objects notation.
7+
This format is [blazingly fast](https://esbench.com/bench/592d599e99634800a03483d8) to parse and will support all needs of the current CSSinJS implementations.
88

9-
## First draft
9+
Package maintainers will be able to publish JavaScript files to NPM in this format instead of plain CSS or any variation of objects notation.
10+
11+
Do not confuse this format with an AST. It is designed purely for interoperability and publishing. Using this format you can build an AST or regular CSS or any other structure.
1012

11-
Format is optimized for parsing in JavaScript, not for human readability.
1213

1314
### Markers
1415

0 commit comments

Comments
 (0)