0.1.0 • Published 4 years ago

hades-ts v0.1.0

Weekly downloads
7
License
-
Repository
github
Last release
4 years ago

hades

a tiny utility ☘️ supports downloading file from URL.

All Contributors Build Status npm david Hits-of-Code GitHub

🧰 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