Skip to content

kokiito0926/hypernode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ハイパーノード(hypernode)

ハイパーノード(hypernode)は、Node.jsのカスタムローダーです。
HTTPS(esm.shなど)で公開されている、ESMのモジュールを直接的にimportをすることができるようになります。
zxと組み合わせたりして、短いスクリプトを書いたりするときに便利かもしれません。

インストール

$ npm install --global @kokiito0926/hypernode

実行方法

$ hypernode ./example.js

コード

import axios from "https://esm.sh/axios";
import { chunk } from "https://esm.sh/lodash";

console.log(axios?.get);
console.log(chunk([1, 2, 3, 4, 5, 6], 2));

ライセンス

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published