coolaj86 / semver-utils Goto Github PK
View Code? Open in Web Editor NEWTools for manipulating semver strings and objects
Tools for manipulating semver strings and objects
Would you be interested in incorporating some or all of the following functions into this repo? They are helpful for working with loose version numbers (e.g. "1", "1.2") and moving between them. This seems like an appropriate repo to locate them, although I could make a separate repo if not. If yes, I'll submit a pull request.
numParts
stringify
precisionAdd
getPrecision
setPrecision
addWildCard
Getting a problem pulling down with NPM:
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12: Cloning into 'c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12'...
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12: fatal: '/cygdrive/c/Users/Philip/AppData/Roaming/npm-cache/_git-remotes/git-github-com-metaraine-semver-utils-git-3be734be/C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be' does not appear to be a git repository
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12:
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12: and the repository exists.
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-3be734be c:\windows\temp\npm-8732-09a01a8d\git-cache-e911f1c9f6b6\86ea225075e5e528d1be4be2601a8ebd6f208f12:
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12: Cloning into 'c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12'...
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12: fatal: '/cygdrive/c/Users/Philip/AppData/Roaming/npm-cache/_git-remotes/https-github-com-metaraine-semver-utils-git-d1301c5c/C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c' does not appear to be a git repository
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12:
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12: and the repository exists.
npm ERR! git clone C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\https-github-com-metaraine-semver-utils-git-d1301c5c c:\windows\temp\npm-8732-09a01a8d\git-cache-c4d472aa3d80\86ea225075e5e528d1be4be2601a8ebd6f208f12:
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92: Cloning into bare repository 'C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92'...
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92: ssh_askpass: exec(/usr/sbin/ssh-askpass): No such file or directory
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92: Host key verification failed.
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92: fatal: Could not read from remote repository.
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92:
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92: Please make sure you have the correct access rights
npm ERR! git clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92: and the repository exists.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "update"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:metaraine/semver-utils.git C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92
npm ERR! Cloning into bare repository 'C:\Users\Philip\AppData\Roaming\npm-cache\_git-remotes\git-github-com-metaraine-semver-utils-git-8d74af92'...
npm ERR! ssh_askpass: exec(/usr/sbin/ssh-askpass): No such file or directory
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.