@1chi/fml.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

fml.js

API Wrapper for https://fmylife.com

NPM version NPM downloads Dependencies

NPM info

Features

  • Actually maintained
  • Uses async/await
  • Has support for ESM and CJS

Install

npm i @1chi/fml.js # NPM
yarn add @1chi/fml.js # Yarn
pnpm add @1chi/fml.js # PNPM

Usage

import fml from '@1chi/fml.js'; // import syntax
const fml = require('@1chi/fml.js').default; // require()

// Async/Await
async () => {
	const quote = await fml();

	console.log(quote);
};

// .then()
fml().then((quote) => console.log(quote));

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

fml.js © Yoshida Tomio, Released under the Apache-2.0 License.
Authored and maintained by 1chiSensei.

GitHub @1chiSensei Discord https://discord.gg/zGvtAnGhdP

Readme

Keywords

Package Sidebar

Install

npm i @1chi/fml.js

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

18.5 kB

Total Files

11

Last publish

Collaborators

  • 1chi