# nano-assign

> Minimalistic Object.assign

Latest version **1.0.1** (published 2018-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install nano-assign
pnpm add nano-assign
yarn add nano-assign
bun add nano-assign
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-11-02 |
| First published | 2017-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | egoist |
| Maintainers | rem |

## Links

- npm: https://www.npmjs.com/package/nano-assign
- Repository: https://github.com/egoist/nano-assign
- Homepage: https://github.com/egoist/nano-assign#readme
- Issues: https://github.com/egoist/nano-assign/issues
- npm.io page: https://npm.io/package/nano-assign

## Recent versions

- 1.0.1 (latest) — 2018-11-02
- 1.0.0 — 2017-07-14

## README

# nano-assign

[![NPM version](https://img.shields.io/npm/v/nano-assign.svg?style=flat)](https://npmjs.com/package/nano-assign) [![NPM downloads](https://img.shields.io/npm/dm/nano-assign.svg?style=flat)](https://npmjs.com/package/nano-assign) [![CircleCI](https://circleci.com/gh/egoist/nano-assign/tree/master.svg?style=shield)](https://circleci.com/gh/egoist/nano-assign/tree/master)  [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate)

## Install

```bash
yarn add nano-assign
```

## Usage

```js
const assign = require('nano-assign')

assign({}, { foo: 'foo' }, null, undefined, { foo: 'bar' })
//=> { foo: 'bar' }
```

## Gotchas

[See the 7 lines of code to know what we're doing here ;P](./src/index.js)

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D


## Author

**nano-assign** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by egoist with help from contributors ([list](https://github.com/egoist/nano-assign/contributors)).

> [egoistian.com](https://egoistian.com) · GitHub [@egoist](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)

---
_Source: https://npm.io/package/nano-assign · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
