<commit_before><img src="/assets/nails@2x.png" width="100%" alt="Nails Framework" title="Nails Framework" />

Nails Framework
===============

Nails is a modular application framework for Node.js. The core module consists of a simple plugin loader and service registry which forms a well-structured base for your application.

Core Concepts
-------------

### Plugins
Plugins are partial applications which allow you to cleanly organise your application. Plugins are given full access to your application object in order to add new features or register services.

### Service Registry
The service registry provides a central location to register and locate services within your application. Services abstract the process of consuming external services such as databases, messaging systems and email gateways.

Available Plugins
-----------------

### [nails-config](https://github.com/nails/nails-config) (core)
A configuration management tool which loads configuration values from argv, env variables and JSON files from your `config` directory.

### [nails-logger](https://github.com/nails/nails-logger) (core)
A streaming JSON logging tool which can log to console, syslog or disk. It can also provide you with a raw stream to allow custom logging destinations.

### [nails-task](https://github.com/nails/nails-task)
A re-usable task runner and scheduler. Allows you to create tasks and run them on demand or on a schedule. Can be used to create complex build processes or to spread resource intensive operations across multiple servers.

### [nails-web](https://github.com/nails/nails-web)
An HTTP router and server based on Express. It includes additional tools for middleware management so other plugins can expose their own web services.

### [nails-schemas](https://github.com/nails/nails-schemas)
A schema registry and set of common schemas and plugins for mongoose.

### [nails-admin](https://github.com/nails/nails-admin)
A customisable admin interface for your application. 

### [nails-cli](https://github.com/nails/nails-cli)
Tools to ease the creation of command line applications.

Available Services
------------------
<commit_msg>Add nails-api<commit_after><img src="/assets/nails@2x.png" width="100%" alt="Nails Framework" title="Nails Framework" />

Nails Framework
===============

Nails is a modular application framework for Node.js. The core module consists of a simple plugin loader and service registry which forms a well-structured base for your application.

Core Concepts
-------------

### Plugins
Plugins are partial applications which allow you to cleanly organise your application. Plugins are given full access to your application object in order to add new features or register services.

### Service Registry
The service registry provides a central location to register and locate services within your application. Services abstract the process of consuming external services such as databases, messaging systems and email gateways.

Available Plugins
-----------------

### [nails-config](https://github.com/nails/nails-config) (core)
A configuration management tool which loads configuration values from argv, env variables and JSON files from your `config` directory.

### [nails-logger](https://github.com/nails/nails-logger) (core)
A streaming JSON logging tool which can log to console, syslog or disk. It can also provide you with a raw stream to allow custom logging destinations.

### [nails-task](https://github.com/nails/nails-task)
A re-usable task runner and scheduler. Allows you to create tasks and run them on demand or on a schedule. Can be used to create complex build processes or to spread resource intensive operations across multiple servers.

### [nails-web](https://github.com/nails/nails-web)
An HTTP router and server based on Express. It includes additional tools for middleware management so other plugins can expose their own web services.

### [nails-schemas](https://github.com/nails/nails-schemas)
A schema registry and set of common schemas and plugins for mongoose.

### [nails-api](https://github.com/nails/nails-api)
Creates REST API endpoints from your mongoose models.

### [nails-admin](https://github.com/nails/nails-admin)
A customisable admin interface for your application. 

### [nails-cli](https://github.com/nails/nails-cli)
Tools to ease the creation of command line applications.

Available Services
------------------

{'fraction_non_alphanumeric': 0.10651828298887123, 'fraction_numerical': 0.0018169429934135816, 'mean_word_length': 4.344660194174757, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 15, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '34307', 'n_tokens_mistral': 1121, 'n_tokens_neox': 1081, 'n_words': 512}