Skip to content

Bawanthathilan/get-hashnode-articles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Buy Me A Coffee" get-hashnode-articles

Fetching Your Hashnode Articles

Node.js library to fetch your Hashnode articles.

Installation

npm install fetching-hashnode-posts

Prerequits

  • Hashnode personal access token - You can get your PAT (personal access token) from the developer settings.

Usage

--

// require library
const { getPosts } = require('fetching-hashnode-posts');

//Parameters
getPosts(<Page Number> , <Your Hashnode Username>)

// get your articles
getPosts(0, "bawanthathilan").then((posts) => {
  console.log(posts);
});

About

Node.js library to fetch Hashnode user articles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published