pudding-context
==========

<!---
This file is generated by ape-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]

[bd_repo_url]: https://github.com/pudding-labo/pudding-context
[bd_travis_url]: http://travis-ci.org/pudding-labo/pudding-context
[bd_travis_shield_url]: http://img.shields.io/travis/pudding-labo/pudding-context.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/pudding-labo/pudding-context
[bd_travis_com_shield_url]: https://api.travis-ci.com/pudding-labo/pudding-context.svg?token=
[bd_license_url]: https://github.com/pudding-labo/pudding-context/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/pudding-labo/pudding-context
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/pudding-labo/pudding-context.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/pudding-labo/pudding-context.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/pudding-labo/pudding-context
[bd_gemnasium_shield_url]: https://gemnasium.com/pudding-labo/pudding-context.svg
[bd_npm_url]: http://www.npmjs.org/package/pudding-context
[bd_npm_shield_url]: http://img.shields.io/npm/v/pudding-context.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

Context for pudding

<!-- Description End -->




<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->

<a name="section-doc-guides-01-installation-md"></a>

Installation
-----

```bash
npm install pudding-context --save
```

<!-- Section from "doc/guides/01.Installation.md.hbs" End -->

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>

Usage
----


### Define a Context

```javascript

```



<!-- Section from "doc/guides/02.Usage.md.hbs" End -->

<!-- Section from "doc/guides/03.Buildin Variables.md.hbs" Start -->

<a name="section-doc-guides-03-buildin-variables-md"></a>

Build-in Variables
------------------


### Modules Available in Expression Scope

These module are exposed in expression scope.

+ [stringcase](https://github.com/okunishinishi/node-stringcase)
+ [randomval](https://github.com/okunishinishi/node-randomval)


### Functions Available in Expression Scope

| Key | Description | Example |
| --- | ---- | ---- |
| camelcase(value) | Equivalent to `stringcase.camelcase()` | "fooBarBaz" |
| capitalcase(value) | Equivalent to `stringcase.capitalcase()` | "FooBarBaz" |
| constcase(value) | Equivalent to `stringcase.constcase()` | "FOO_BAR_BAZ" |
| decapitalcase(value) | Equivalent to `stringcase.decapitalcase()` | "fooBarBaz" |
| enumcase(value) | Equivalent to `stringcase.enumcase()` | "foo:bar:baz" |
| lowercase(value) | Equivalent to `stringcase.lowercase()` | "foobarbaz" |
| pascalcase(value) | Equivalent to `stringcase.pascalcase()` | "FooBarBaz" |
| pathcase(value) | Equivalent to `stringcase.pathcase()` | "foo/bar/baz" |
| sentencecase(value) | Equivalent to `stringcase.sentencecase()` | "Foo bar baz" |
| snakecase(value) | Equivalent to `stringcase.snakecase()` | "foo_bar_baz" |
| spacecase(value) | Equivalent to `stringcase.spacecase()` | "foo bar baz" |
| spinalcase(value) | Equivalent to `stringcase.spinalcase()` | "foo-bar-baz" |
| titlecase(value) | Equivalent to `stringcase.titlecase()` | "Foo Bar Baz" |
| trimcase(value) | Equivalent to `stringcase.trimcase()` | "fooBarBaz" |
| uppercase(value) | Equivalent to `stringcase.uppercase()` | "FOOBARBAZ" |
| randomBool() | Equivalent to `randomval.randomBool()` | "false" |
| randomDate() | Equivalent to `randomval.randomDate()` | "Mon Sep 12 2016 19:31:30 GMT+0900 (JST)" |
| randomHash() | Equivalent to `randomval.randomHash()` | "17c9367824cc48f9af3983c8a0cce562" |
| randomInt() | Equivalent to `randomval.randomInt()` | "6029079844784691" |
| random() | Equivalent to `randomval.random()` | "0.8558629957333093" |


<!-- Section from "doc/guides/03.Buildin Variables.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/pudding-labo/pudding-context/blob/master/LICENSE).

<!-- LICENSE End -->


<!-- Links Start -->
<a name="links"></a>

Links
------

+ [pudding][pudding_url]

[pudding_url]: https://github.com/pudding-labo/pudding

<!-- Links End -->
