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

JasonDevTech/MDN-Scraper

Repository files navigation

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