Skip to content

palashgupta98/repotags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

This is nodejs program inorder to get the repo tags

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors