
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
left-phalange-api
Advanced tools
YAML, TOML, JSON, JSON5, INI, CSV, ES Module, CommonJS data loader, parser and stringifier
YAML, TOML, JSON, JSON5, INI, CSV, ES Module, CommonJS data loader, parser and stringifier
yarn add left-phalange-api
import {parse, load, stringify} from 'left-phalange-api'
Object
| String
{}
String
)
options.type
file
cjs
, esm
, ini
, js
, json
, json5
, toml
, yaml
, csv
examples:
await load('path/to/data.json')
await load('path/to/data', 'yaml')
await load('path/to/data', {type: 'toml'})
String
Object
| String
{}
String
)
options.type
string
yaml
ini
, json
, json5
, toml
, yaml
, csv
examples:
await parse('{"left": "phalange"}')
await parse('{"left": "phalange"}', 'json')
await parse('left = "phalange"', {type: 'toml'})
await parse('left = phalange', {filename: 'path/to/data.yml'})
Object
| String
| Boolean
{}
String
)
options.type
Boolean
)
options.pretty
string
json
cjs
, esm
, ini
, json
, json5
, csv
false
examples:
await stringify({left: 'phalange'})
// {"left": "phalange"}
await stringify({left: 'phalange'}, 'toml')
// left = "phalange"
await stringify({left: 'phalange'}, true)
// {
// "left": "phalange"
// }
await stringify({left: 'phalange'}, {type: 'json5', pretty: true})
// {
// left: 'phalange',
// }
FAQs
YAML, TOML, JSON, JSON5, INI, CSV, ES Module, CommonJS data loader, parser and stringifier
The npm package left-phalange-api receives a total of 38 weekly downloads. As such, left-phalange-api popularity was classified as not popular.
We found that left-phalange-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.