https://github.com/css/gonzales
Fast CSS parser
https://github.com/css/gonzales
Last synced: about 1 month ago
JSON representation
Fast CSS parser
- Host: GitHub
- URL: https://github.com/css/gonzales
- Owner: css
- License: mit
- Created: 2012-10-03T10:31:03.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T19:01:27.000Z (over 5 years ago)
- Last Synced: 2025-08-19T01:26:38.436Z (8 months ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 123
- Watchers: 17
- Forks: 17
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
> DEPRECATED: project is outdated and doesn't maintain for a while. Alternatives:
> - If you interested in gonzales, take a look at [gonzales-pe](https://github.com/tonyganch/gonzales-pe), this is a fork of gonzales with post processors support (sass, less) and other improvements.
> - We also recommend looking at [CSSTree](https://github.com/csstree/csstree), which began as refactoring of gonzales, but later became a brand new solution for parsing and processing CSS.
> - If you are looking for the fastest parser, see [the CSS parsers benchmark](https://github.com/postcss/benchmark#parsers) by PostCSS team to choose your favourite one.
# 1. Description
Gonzales — fast CSS parser.
This document is an installation guide.
Usage: [CSSP.USAGE.en] (https://github.com/css/gonzales/blob/master/doc/CSSP.USAGE.en.md).
CSSP AST description: [AST.CSSP.en] (https://github.com/css/gonzales/blob/master/doc/AST.CSSP.en.md).
Please report issues on [Issues](https://github.com/css/gonzales/issues).
# 2. Install using npm
Prerequisites:
* nodejs 0.6.x — [http://nodejs.org](http://nodejs.org)
* npm — [http://github.com/isaacs/npm/](http://github.com/isaacs/npm/)
To install (global):
* run `npm install gonzales -g`
To update:
* run `npm update gonzales`
To uninstall:
* run `npm uninstall gonzales -g`
# 3. Authors
* idea, implementation — Sergey Kryzhanovsky ()
* english translation — Vera Gavryushina ()
# 4. And finally
* Gonzales is licensed under [MIT](https://github.com/css/gonzales/blob/master/MIT-LICENSE.txt)