New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

attribute-string

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

attribute-string

Generate html attribute strings

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
2
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

attribute-string Build Status

Generate html attribute strings

Install

$ npm install --save attribute-string

Usage

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

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

API

attributeString(attributes)

attributes

Type: object

License

MIT © Tobias Herber

FAQs

Package last updated on 16 Aug 2017

Related posts