searchrepos
v1.0.2
Published
npm library for searching repos github and find repostiry with github search API
Downloads
2
Readme
seachRepos
npm library for searching repos github and find repostiry with github search API
instalation
#using npm
npm install searchrepos
#using yarn
yarn install searchrepos
usage
using import
import { searchrepos } from "searchrepos";
using const
const searcgrepos = require("searcgrepos");
#example
using promise
searchrepos({
username: "Dickyrdiar",
page: "1",
per_page: "50",
});
using async
const getRepositories = async function () {
const repositories = await getRepos({
username: "Dickyrdiar",
page: 1,
per_page: 50,
});
console.log(repositories);
};
getRepositories();