# roole-parser

> Parser for the Roole language

Latest version **0.13.1** (published 2013-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install roole-parser
pnpm add roole-parser
yarn add roole-parser
bun add roole-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.13.1 |
| Published | 2013-10-18 |
| First published | 2013-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Glen Huang |
| Maintainers | curvedmark |

## Links

- npm: https://www.npmjs.com/package/roole-parser
- Repository: https://github.com/curvedmark/roole-parser
- Issues: https://github.com/curvedmark/roole-parser/issues
- npm.io page: https://npm.io/package/roole-parser

## Recent versions

- 0.13.1 (latest) — 2013-10-18
- 0.13.0 — 2013-10-10
- 0.12.1 — 2013-10-06
- 0.12.0 — 2013-09-24
- 0.11.0 — 2013-09-23
- 0.10.0 — 2013-09-12
- 0.9.0 — 2013-09-11
- 0.8.0 — 2013-09-11
- 0.7.0 — 2013-09-01
- 0.6.0 — 2013-08-28
- 0.5.0 — 2013-08-24
- 0.4.0 — 2013-08-22
- 0.3.0 — 2013-08-19
- 0.2.0 — 2013-08-03

## README

# roole-parser

Take a string of [Roole](http://roole.org/) code, and output the ast.

## Example

```javascript
var parser = require('roole-parser');
var ast = parser.parse('body { margin: 0 }');
console.log(ast);
```

## API

```javascript
parser.parse(str, [options])
```

* `str` - A string of Roole code.
* `options` - Object literal supports these options:
	* `filename - An string of absolute path of the file that contains this Roole code. If specified, each AST node will contain it in the location info.
	* `loc` (default: `true`) - A boolean denoting whether AST nodes should contain location info. If an object is passed, that object will be used directly as the location.

---
_Source: https://npm.io/package/roole-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
