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

lpat

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lpat

Find pattern from list of string

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

lpat

List pattern finder.

This javascript module can be used to find possible patterns from list of strings. At the moment lpat can find groups of items that follow a naming convention containing a numerical sequence index.

Install

$ npm install --save lpat

Usage

const lpad = require('lpat');

const pattern = lpat(['IMG_0001.JPG', 'IMG_0002.JPG', 'IMG_0003.JPG']); 
// "IMG_000[1..3].JPG"

License

MIT © jacdebug

Keywords

pattern

FAQs

Package last updated on 23 Nov 2017

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