1.0.2 • Published 5 years ago

repo-tags v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

repo-tags

Getting started

Want to know the version of the repo justing by entering the repo address as just vanilla javascript is used

npm install repo-tags
const tags = require("repo-tags");

async function tagsUsage(input) {
  try {
    const data = await tags(input);

    return data;
  } catch (error) {
    return new Error(error);
  }
}

tagsUsage("https://github.com/elastic/elasticsearch-js")
  .then(e=>console.log(e))  //arrays of the version of the elasticsearch
  .catch(e=>console.log(e));