Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xc2/label
A JavaScript library for parsing, resolving, and querying Bazel-like labels.
https://github.com/xc2/label
Last synced: 11 days ago
JSON representation
A JavaScript library for parsing, resolving, and querying Bazel-like labels.
- Host: GitHub
- URL: https://github.com/xc2/label
- Owner: xc2
- License: mit
- Created: 2024-11-04T05:36:06.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T15:07:55.000Z (about 2 months ago)
- Last Synced: 2024-12-23T07:37:54.804Z (19 days ago)
- Language: TypeScript
- Homepage:
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @109cafe/label
A library for parsing, resolving, and querying Bazel-like labels.
This package provides:
- [TargetQuery](docs/label/Class.TargetQuery.md) for querying targets
- [BazelLikeSpec](docs/label/Class.BazelLikeSpec.md) for implementing your own Bazel-like label specification
- [parse](docs/label/Function.parse.md) for parsing labels
- [build](docs/label/Function.build.md) for building labels
- [resolve](docs/label/Function.resolve.md) for resolving labelsThis package is filesystem-agnostic so that you can use it in any JavaScript runtime.
If you'd like to build a Bazel-like query in Node.js with `node:fs` and `glob`, please refer to the [@109cafe/dummy implementation](./dummy-spec/dummy-spec.ts).
[API References](docs/label/index.md)