
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
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 5 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.