An open API service indexing awesome lists of open source software.

https://github.com/aziis98/sparse

A stack based javascript parser library
https://github.com/aziis98/sparse

deno deno-module

Last synced: about 1 month ago
JSON representation

A stack based javascript parser library

Awesome Lists containing this project

README

          

# Sparse

A stack based javascript parsing library.

## Example

Se this [example](examples/text-formatting.ts) of a simple text formatter, this is able to parse text like `This is *an* _example_ with a link to [https://github.com][GitHub]` and returns

```javascript
[
'This is ',
Bold('an'),
' ',
Italic('example'),
' with a link to ',
Link('https://github.com', 'GitHub')
]
```

## Documentation

[TODO]