# raw-object

> Create an object with a null prototype

Latest version **1.0.0** (published 2017-10-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install raw-object
pnpm add raw-object
yarn add raw-object
bun add raw-object
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-10-10 |
| First published | 2017-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Quentin Engles |
| Maintainers | hollowdoor |
| Keywords | object, create, assign |

## Links

- npm: https://www.npmjs.com/package/raw-object
- Repository: https://github.com/hollowdoor/raw_object
- Homepage: https://github.com/hollowdoor/raw_object#readme
- Issues: https://github.com/hollowdoor/raw_object/issues
- npm.io page: https://npm.io/package/raw-object

## Dependencies (1)

- [object-assign](https://npm.io/package/object-assign.md) ^4.1.1

## Recent versions

- 1.0.0 (latest) — 2017-10-10

## README

raw-object
====

Install
-----

`npm install --save raw-object`

Usage
---

```javascript
const rawObject = require('raw-object');
//Create an object with no properties.
let one = rawObject();
//Assign properties to the object
let two = rawObject({
    prop1: 'one'
});
//Extend the created object
let three = rawObject(one, two, {
    prop2: 'two'
});

console.log('two.prop1 ',two.prop1); //one
console.log('three.prop1 ',three.prop1); //one
console.log('three.prop2 ',three.prop2); //two

```

About
----

Use this to create an object with a null prototype.

A null prototype makes it easier to check with the `in` operator like `name in object`.

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