<commit_before>
<p align="center">
  <img src="https://cloud.githubusercontent.com/assets/1796022/24319396/d85567ce-111a-11e7-8ada-9112fbd2d902.png" width="400">
</p>

# morose

[![Build Status](https://travis-ci.org/bleenco/morose.svg?branch=master)](https://travis-ci.org/bleenco/morose)
[![Build status](https://ci.appveyor.com/api/projects/status/kg4h0mn3t8q8h96b/branch/master?svg=true)](https://ci.appveyor.com/project/jkuri/morose/branch/master)

Run npm registry & proxy on your own servers.

## Installation

```sh
$ npm install morose -g
```

## Usage

### Running a Server

```sh
morose<commit_msg>docs(readme): update readme.md<commit_after>
<p align="center">
  <img src="https://cloud.githubusercontent.com/assets/1796022/26799017/160416cc-4a34-11e7-919e-91d0a2359d8c.png">
</p>

# morose

[![Build Status](https://travis-ci.org/bleenco/morose.svg?branch=master)](https://travis-ci.org/bleenco/morose)

Run npm registry or npm proxy on your own servers.

### Use cases

- Use private packages.

If you want to use all benefits of npm package system in your company without sending all code to the public, and use your private packages just as easy as public ones.

See using private packages section for details.

- Cache npmjs.org registry.

If you have more than one server you want to install packages on, you might want to use this to decrease latency (presumably "slow" npmjs.org will be connected to only once per package/version) and provide limited failover (if npmjs.org is down, we might still find something useful in the cache).

See using public packages section for details.

- Override public packages.

If you want to use a modified version of some 3rd-party package (for example, you found a bug, but maintainer didn't accept pull request yet), you can publish your version locally under the same name.

### Installation

```sh
$ npm install morose -g
```

### Usage

### Running a Server

```sh
morose
{'fraction_non_alphanumeric': 0.11795137092602173, 'fraction_numerical': 0.04345576823590274, 'mean_word_length': 4.589595375722543, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '999758', 'n_tokens_mistral': 689, 'n_tokens_neox': 627, 'n_words': 206}