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
- Host: GitHub
- URL: https://github.com/aziis98/sparse
- Owner: aziis98
- License: mit
- Created: 2020-05-21T17:12:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T21:15:15.000Z (about 6 years ago)
- Last Synced: 2025-10-26T09:16:18.613Z (8 months ago)
- Topics: deno, deno-module
- Language: TypeScript
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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]