wikihow-sr
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

wikihow-sr

API Wrapper for https://wikihow.com/api.php

NPM version NPM downloads Dependencies

NPM info

Features

  • Actually maintained
  • Uses async/await

Install

yarn add wikihow-sr

Usage

const search = require('wikihow-sr');

// If no results are found, it returns null.

// async/await
(async () => {
	const data = await search('how to clean');
	console.log(data);
})();

// .then
search('how to clean').then(console.log);

Example Output

{
	id: 40273,
	title: 'Clean Your Room',
	language: 'en',
	url: 'https://www.wikihow.com/Clean-Your-Room'
}

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

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

GitHub @1chiSensei

/wikihow-sr/

    Package Sidebar

    Install

    npm i wikihow-sr

    Weekly Downloads

    5

    Version

    1.0.1

    License

    Apache-2.0

    Unpacked Size

    16.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • yuu0007
    • 1chi