0.1.0 • Published 4 years ago

easeschematicparse v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

easeSchematicParse GitHub Workflow Status GitHub package.json version npm GitHub closed issues David npm bundle size GitHub repo size CircleCI

A package for parsing "schematic versioning" versions, easily. GitHub stars hey! what are u doin' there?

About

The name sounds a bit weird right?

This package, allows you to parse schematic versions, including rebuilding them!

It's also written in TypeScript. For the first time!

Install

npm i easeschematicparse

or

npm install easeschematicparse

Usage

NOTE: You can't use typescript from it.

const { parse, reBuild } = require('easeSchematicParse');

// Parse
const ver = parse('1.0.0');
console.log(ver);

/*
{
    major: "1",
    minor: "0",
    patch: "0"
}
*/

// Rebuild
let newVer = reBuild(ver);
console.log(newVer);

/*
1.0.0
/*
0.1.0

4 years ago