Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ije/land
Run Deno X module without installation.
https://github.com/ije/land
deno land runner script
Last synced: 22 days ago
JSON representation
Run Deno X module without installation.
- Host: GitHub
- URL: https://github.com/ije/land
- Owner: ije
- License: mit
- Created: 2021-04-17T19:08:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T21:35:38.000Z (over 2 years ago)
- Last Synced: 2023-12-16T14:45:00.095Z (11 months ago)
- Topics: deno, land, runner, script
- Language: TypeScript
- Homepage: https://deno.land/x/land
- Size: 42 KB
- Stars: 38
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# land
Run Deno X modules without installation.
### Installation
```bash
deno install -A -f -n land https://deno.land/x/[email protected]/cli.ts
```### Usage
```bash
# equals to `deno run https://deno.land/x/publish@latest/cli.ts
land publish
```### How it works?
`land` will check the deno.land third-party module metadata at bootstrap, when the `cli.ts` or `cli.js` found then run it as sub-process, or use the `mod.ts` or `mod.js`. It also checks the `import_map.json` (or `import-map.json`) in the root directory and apply it automatically.
### Versioning
By default, `land` will use the latest version of the module, you also can specify the version with [semver](https://semver.org/):
```bash
land [email protected] # match exact version
land [email protected] # match latest patch version
land publish@1 # match latest minor version
```### Permissions
By default, `land` will ask you the permissions of the module is using, or you can pass the permissions manually:
```bash
land --allow-net --allow-read --allow-write publish
````land` supports `PERMISSIONS(.txt)` preset in the module root directory like:
```txt
--allow-net
--allow-read
--allow-write
```