Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 706 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 706 Bytes

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

Usage

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

You can also use with Tosemver to sanitize it 😄

Want to contribute do not hesitate to send the pull request