# attribute-string

> Generate html attribute strings

Latest version **1.0.1** (published 2017-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install attribute-string
pnpm add attribute-string
yarn add attribute-string
bun add attribute-string
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-08-16 |
| First published | 2017-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tobias Herber |
| Maintainers | tobihrbr |

## Links

- npm: https://www.npmjs.com/package/attribute-string
- Repository: https://github.com/tobihrbr/attribute-string
- Homepage: https://github.com/tobihrbr/attribute-string#readme
- Issues: https://github.com/tobihrbr/attribute-string/issues
- npm.io page: https://npm.io/package/attribute-string

## Dependencies (1)

- [escapify](https://npm.io/package/escapify.md) ^1.0.0

## Recent versions

- 1.0.1 (latest) — 2017-08-16
- 1.0.0 — 2017-08-16

## README

# attribute-string [![Build Status](https://travis-ci.org/tobihrbr/attribute-string.svg?branch=master)](https://travis-ci.org/tobihrbr/attribute-string)

> Generate html attribute strings

## Install

```
$ npm install --save attribute-string
```

## Usage

```js
const attributeString = require('attribute-string');

attributeString({ href: 'https://google.com' });
//=> 'href="https://google.com"'
```

## API

### attributeString(attributes)

#### attributes

Type: `object`

## License

MIT © [Tobias Herber](https://tobihrbr.com)

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