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

logrep

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logrep

Grep search for commits in Git log

latest
npmnpm
Version
0.1.0
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Logrep

Logrep is a command line utility to help you find commits in your Git log that contain specified words or regular expressions. It spits back all matching log entries in full.

##Requirements

NPM, node.js or io.js. Probably won't work on Windows (sorry suckers).

##Installation

$ npm install -g logrep

##Usage

$ logrep -gimy 'add terrible function' '\w\s(.*)[^function]'

Options

The options passed to logrep are translated directly into flags on the regular expressions generated to search your Git log.

Available Flags 1

  • -g global match
  • -i ignore case
  • -m multiline; treat beginning and end characters (^ and $) as working over multiple lines (i.e., match the beginning or end of each line (delimited by \n or \r), not only the very beginning or end of the whole input string)
  • -y sticky; matches only from the index indicated by the lastIndex property of this regular expression in the target string (and does not attempt to match from any later indexes).

Matchers

Matchers are converted to JavaScript regular expressions, and can use regex syntax. Escape any characters considered 'special' in regex patterns. Each matcher acts as a filter, so only commits with messages that pass all the filters will show up.

FAQs

Package last updated on 16 Jan 2015

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