akashmittal-articles

Get a list of articles published on AkashMittal.com.

Installation

# using npm
npm install akashmittal-articles

# using yarn
yarn add akashmittal-articles

Usage

# using require
const { getArticles } = require('akashmittal-articles');

# using import
import { getArticles } from 'akashmittal-articles';

Example

Using promises:

getArticles().then((articleList) => console.log(articleList));

Using async/await:

const getArticles = async function () {
  const articles = await getArticles();
  console.log(articles);
};

getArticles();

Top categories

Loading Svelte Themes