New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@patarapolw/eqdict

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patarapolw/eqdict

A dictionary / Record / JavaScript object can be generated from a string with Equal (=) sign

latest
Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
7
250%
Maintainers
1
Weekly downloads
 
Created
Source

eqdict

npm version

A dictionary / Record / JavaScript object can be generated from a string with Equal (=) sign. For example,

  • 'a=1 b="x y z"' => { a: '1', b: 'x y z' }

A base utility for indent-utils and hyperpug

Usage

import eqdict from 'eqdict'
console.log(eqdict('a=1 b="x y z"'))

Usage on the browser

<script src="https://unpkg.com/eqdict@:version/umd/index.min.js"></script>
<script>
console.log(eqdict('a=1 b="x y z"'))
</script>

FAQs

Package last updated on 10 Jan 2020

Related posts