https://github.com/flex-development/vfile-lexer
vfile utility to tokenize a file
https://github.com/flex-development/vfile-lexer
lexer parse tokenize vfile vfile-util
Last synced: 4 months ago
JSON representation
vfile utility to tokenize a file
- Host: GitHub
- URL: https://github.com/flex-development/vfile-lexer
- Owner: flex-development
- License: bsd-3-clause
- Created: 2024-06-16T04:21:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-21T12:21:41.000Z (8 months ago)
- Last Synced: 2025-02-22T11:09:42.444Z (4 months ago)
- Topics: lexer, parse, tokenize, vfile, vfile-util
- Language: TypeScript
- Homepage: https://github.com/flex-development/vfile-lexer
- Size: 1.88 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/funding.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# vfile-lexer
[](https://github.com/flex-development/vfile-lexer/releases/latest)
[](https://npmjs.com/package/@flex-development/vfile-lexer)
[](https://codecov.io/gh/flex-development/vfile-lexer)
[](https://github.com/voxpelli/badges-cjs-esm)
[](LICENSE.md)
[](https://conventionalcommits.org/)
[](https://typescriptlang.org/)
[](https://vitest.dev/)
[](https://yarnpkg.com/)[vfile][vfile] utility to tokenize a file
## Contents
- [What is this?](#what-is-this)
- [When should I use this?](#when-should-i-use-this)
- [Install](#install)
- [Use](#use)
- [API](#api)
- [Types](#types)
- [Related](#related)
- [Contribute](#contribute)## What is this?
**TODO**: what is this?
## When should I use this?
**TODO**: when should I use this?
## Install
This package is [ESM only][esm].
In Node.js (version 18+) with [yarn][yarn]:
```sh
yarn add @flex-development/vfile-lexer
```
See Git - Protocols | Yarn
for details regarding installing from Git.
In Deno with [`esm.sh`][esmsh]:
```ts
import {} from 'https://esm.sh/@flex-development/vfile-lexer'
```In browsers with [`esm.sh`][esmsh]:
```html
import {} from 'https://esm.sh/@flex-development/vfile-lexer'
```
## Use
**TODO**: use
## API
**TODO**: api
## Types
This package is fully typed with [TypeScript][typescript].
## Related
- [`vfile-location`][vfile-location] — [vfile][vfile] utility to convert between point and offset based locations
- [`vfile-reader`][vfile-reader] — [vfile][vfile] utility to read from a file## Contribute
See [`CONTRIBUTING.md`](CONTRIBUTING.md).
This project has a [code of conduct](CODE_OF_CONDUCT.md). By interacting with this repository, organization, or
community you agree to abide by its terms.[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
[esmsh]: https://esm.sh/
[typescript]: https://www.typescriptlang.org
[vfile-location]: https://github.com/flex-development/vfile-location
[vfile-reader]: https://github.com/flex-development/vfile-reader
[vfile]: https://github.com/vfile/vfile
[yarn]: https://yarnpkg.com