Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (27 loc) · 976 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 976 Bytes

MDN Scraper

Searches MDN for built-in objects, statements, expressions and more.

npm npm CircleCI Maintenance

Installation

Yarn

$ yarn add mdn-scraper

NPM

$ npm install mdn-scraper

Usage

CommonJS require

const search = require('mdn-scraper').default;

// This must be in an async function
const result = await search('String.split');

console.log(result);

ES6 import

import search from 'mdn-scraper';

// This must be in an async function
const result = await search('String.split');

console.log(result);