New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

taggit

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taggit

Create a tag on remote git with version number in package.json (or bower.json)

latest
Source
npmnpm
Version
2.0.3
Version published
Weekly downloads
184
-43.56%
Maintainers
1
Weekly downloads
 
Created
Source

taggit

Build Status Code Climate Code Coverage npm Version

Create a tag on remote git with version number in package.json (or bower.json)

Installation

npm install taggit --save-dev

Usage

Call taggit() at project root path where package.json exists.

'use strict'

let basedir = __dirname;
process.chdir(basedir) //Move to project root.

const taggit = require('taggit')

// Create remote git tag named with package.json version. (eg. v1.0.0)
taggit({
    // Options
}, (err) => {
    /*...*/
})

Options

KeyDefaultDescription
tagName of tag. By default, name is resolved form package.json.
cwdWorking directory path.

Using with CLI

Install as a global module.

$ npm install taggit -g

Then,

$ taggit -t "v0.0.5"

License

This software is released under the MIT License.

Keywords

github

FAQs

Package last updated on 24 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts