Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timonson/pickyouresmodule
browse and pick your ECMAScript Modules
https://github.com/timonson/pickyouresmodule
deno ecmascript-modules es-module es6-modules esm esmodules rofi
Last synced: 10 days ago
JSON representation
browse and pick your ECMAScript Modules
- Host: GitHub
- URL: https://github.com/timonson/pickyouresmodule
- Owner: timonson
- License: mit
- Created: 2019-10-02T12:53:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T16:16:30.000Z (4 months ago)
- Last Synced: 2024-10-11T20:58:36.708Z (about 1 month ago)
- Topics: deno, ecmascript-modules, es-module, es6-modules, esm, esmodules, rofi
- Language: Shell
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pickYourEsModule
browse and pick your ECMAScript Modules - only for Linux.
![](./2019-10-03T15:08:08+02:00_1307x518.gif)
This script fits perfectly to [Deno](https://deno.land/). For example, you can
choose one of the Deno Standard Modules and then import it directly with the URL
which has been copied into your clipboard.## Quick Start
If you want to use this script for _browsing_ through all the `deno_std` ES
Modules run `./selectModule.sh ` where `` is the location of the
`deno_std` [repository](https://github.com/denoland/deno_std) on your device.When you select an ES Module, the script will automatically copy a string - like
the following one - into your clipboard:`import { serve } from "https://deno.land/std/http/server.ts";`
## Arguments
1. A path to a directory with containes files with ES Modules.
2. An optional base URL. The default is: `https://deno.land/std`.
3. Keep or remove git tags from URL wit `-f`.
4. Optional deno options: For example: `--quiet`.## Dependencies
`pickYourEsModule` consists of the two files `selectModule.sh` and
`getEsModules.js` which have to be in the same directory.Furthermore it depends on `xclip` or `xsel` and `rofi` or `dmenu`.