open-index/open-npm huggingface dataset:
npm package: @headforwards-spd/eslint-config-spd
Description: To use `eslint-config-spd`, first install the package:
Latest version: 0.0.11

# eslint-config-spd

To use `eslint-config-spd`, first install the package:

`yarn add @headforwards-spd/eslint-config-spd`

then add a `.eslintrc.js` file which extends SPD config:

```javascript
module.exports = {
  extends: ['@headforwards-spd/spd'],
};
```
npm package: @headforwards-spd/eslint-config-spd-angular
Description: To use `eslint-config-spd-angular`, first install the package:
Latest version: 0.0.13

# eslint-config-spd-angular

To use `eslint-config-spd-angular`, first install the package:

`yarn add @headforwards-spd/eslint-config-spd-angular`

then add a `.eslintrc.js` file which extends SPD config:

```javascript
module.exports = {
  extends: ['@headforwards-spd/spd-angular'],
};
```
npm package: @headforwards-spd/eslint-config-spd-gts
Description: This is a utility package that allows a shared a set of eslint rules - javascript and typescript - that extend [gts](https://github.com/google/gts).
Latest version: 0.0.11

# eslint-config-spd-gts

This is a utility package that allows a shared a set of eslint rules - javascript and typescript - that extend [gts](https://github.com/google/gts).
npm package: @headforwards-spd/eslint-config-spd-ts
Description: To use `eslint-config-spd-ts`, first install the package:
Latest version: 0.0.11

# eslint-config-spd-ts

To use `eslint-config-spd-ts`, first install the package:

`yarn add @headforwards-spd/eslint-config-spd-ts`

then add a `.eslintrc.js` file which extends SPD config:

```javascript
module.exports = {
  extends: ['@headforwards-spd/spd-ts'],
};
```
npm package: @headforwards-spd/prettier-config-spd
Description: To use `prettier-config-spd`, first install the package:
Latest version: 0.0.11

# prettier-config-spd

To use `prettier-config-spd`, first install the package:

`yarn add @headforwards-spd/prettier-config-spd`

then add a `.prettierrc.js` file which extends SPD config:

```javascript
module.exports = {
  ...require('@headforwards-spd/prettier-config-spd'),
};
```
npm package: @headforwards-spd/stylelint-config-spd
Description: To use `stylelint-config-spd`, first install the package:
Latest version: 1.0.0

# stylelint-config-spd

To use `stylelint-config-spd`, first install the package:

`yarn add @headforwards-spd/stylelint-config-spd`

then add a `.stylelintrc.js` file which extends SPD config:

```javascript
module.exports = {
  extends: ['@headforwards-spd/stylelint-config-spd'],
};
```
npm package: @headgum/tko-mapping
Description: Knockout Mapping plugin
Latest version: 2.9.0

# knockout.mapping

[![Build Status](https://travis-ci.org/crissdev/knockout.mapping.svg?branch=master)](https://travis-ci.org/crissdev/knockout.mapping)
[![npm version](https://badge.fury.io/js/knockout-mapping.svg)](http://badge.fury.io/js/knockout-mapping)


> Object mapping plugin for [Knockout](http://knockoutjs.com/)


## Documentation

Official documentation [here](http://knockoutjs.com/documentation/plugins-mapping.html).


## Install

#### Bower

```sh
bower install bower-knockout-mapping --save
```

#### NPM

```sh
npm install knockout-mapping --save
```


## Quick Start

```js

var data = {
    email: 'demo@example.com',
    name: 'demo',
    addresses: [
        { type: 'home', country: 'Romania', city: 'Cluj' },
        { type: 'work', country: 'Spain', city: 'Barcelona' }
    ]
};

// Create a view model from data
var viewModel = ko.mapping.fromJS(data);

// Now use the viewModel to change some values (properties are now observable)
viewModel.email('demo2@example.com');
viewModel.name('demo2');
viewModel.addresses()[0].city('Bucharest');

// Retrieve the updated data (as JS object)
var newData = ko.mapping.toJS(viewModel);

// newData now looks like this
{
  email: 'demo2@example.com',
  name: 'demo2',
  addresses: [
    { type: 'home', country: 'Romania', city: 'Bucharest' },
    { type: 'work', country: 'Spain', city: 'Barcelona' }
  ]
}

```

Run this example in [JSFiddle](http://jsfiddle.net/wmeqx7ss/280/).


## Test

Unless `CI` environment variable is defined, the tests use the latest version Knockout.


## License

[MIT](http://www.opensource.org/licenses/mit-license.php)