mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
21 lines
573 B
Markdown
21 lines
573 B
Markdown
# lodash.constant v3.0.0
|
||
|
||
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.constant` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
|
||
|
||
## Installation
|
||
|
||
Using npm:
|
||
|
||
```bash
|
||
$ {sudo -H} npm i -g npm
|
||
$ npm i --save lodash.constant
|
||
```
|
||
|
||
In Node.js/io.js:
|
||
|
||
```js
|
||
var constant = require('lodash.constant');
|
||
```
|
||
|
||
See the [documentation](https://lodash.com/docs#constant) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.constant) for more details.
|