hades-ts
v0.1.0
Published
a tiny utility ☘️ supports downloading file from URL.
Downloads
2
Readme
hades
a tiny utility ☘️ supports downloading file from URL.
🧰 installation
yarn add hades-ts
🌳 usage
import { hades } from 'hades-ts';
await hades({
url: 'https://raw.githubusercontent.com/103cuong/uid/master/uid.go',
path: 'uid.go',
});
🚀 API
type Options = {
url: string;
path: string;
timeout?: number;
};
hades(options: Options): Promise<unknown>
🤝 contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
📜 license
MIT © Cuong Tran