Skip to content

jacdebug/lpat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 lpat = require("lpat");

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

License

MIT © jacdebug

About

Find pattern from list of string

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published