https://github.com/aftercss/aftercss
🌟 [WIP] Parser for CSS3.
https://github.com/aftercss/aftercss
css css3 parser
Last synced: 2 months ago
JSON representation
🌟 [WIP] Parser for CSS3.
- Host: GitHub
- URL: https://github.com/aftercss/aftercss
- Owner: aftercss
- Created: 2018-09-13T14:35:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T14:39:26.000Z (about 6 years ago)
- Last Synced: 2025-10-12T08:47:04.130Z (9 months ago)
- Topics: css, css3, parser
- Language: TypeScript
- Homepage:
- Size: 2.21 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# after-css
[](https://travis-ci.com/aftercss/aftercss)
[](https://codecov.io/gh/aftercss/aftercss)
---
implement of [CSS3](https://www.w3.org/TR/css-syntax-3/) in TypeScript.
## test-framework
```javascript
class TokenFixture extends BaseFixture{
async build(taskName){
this.srcDir// acess to src dir
await this.readSrcFile(filename);
// User do their work.
await this.writeActualFile(filename, content);
}
}
describe('test',function(){
const fixture = new TokenFixture(__dirname);
fixture.runTask(async item=>{
it(item.name,item=>fixture.build(item));
});
})
// 在每个runtask之后要处理一下actualfile和expectfile比较的问题,根据比较结果决定当前用例是否通过。
```