Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silkimen/umd-semver


https://github.com/silkimen/umd-semver

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# UMD version of [npm/node-semver](https://github.com/npm/node-semver)

This is a UMD (Universal module definition) version of the popular CommonJS module "umd-semver". It's meant to be used in the browser.
If you need to run this in node.js environment, it's recommended using the original CommonJS version.

## Installation

with npm, run: `npm install umd-semver`

## Loading the module

There are two options for loading this module. Either you can use a AMD module loader (e.g. require.js), or you can just load it with a script tag. If you load it via script tag, then a global object "Semver" will be exported.

## Usage

See [here](https://github.com/npm/node-semver) for API documentation and how to use this module.