Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiefenga/esm-noext
import esm without extension similar to require
https://github.com/xiefenga/esm-noext
Last synced: 17 days ago
JSON representation
import esm without extension similar to require
- Host: GitHub
- URL: https://github.com/xiefenga/esm-noext
- Owner: xiefenga
- Created: 2022-03-25T03:54:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-25T13:03:32.000Z (almost 3 years ago)
- Last Synced: 2024-11-25T11:41:45.893Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# esm-noext
we can import modules without `.js` extension just like use `require` in node
# Usage
```shell
npm i -g esm-noextes main.js
```