hades-ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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):

Cuong Tran
Cuong Tran

💻 📖 ⚠️ 👀

This project follows the all-contributors specification. Contributions of any kind welcome!

📜 license

MIT © Cuong Tran

Readme

Keywords

Package Sidebar

Install

npm i hades-ts

Weekly Downloads

1

Version

0.1.0

License

none

Unpacked Size

6.29 kB

Total Files

5

Last publish

Collaborators

  • 103cuong