3.75 GB
76,734 files
Updated about 1 month ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| README.md | 408 Bytes xet | c60f35ff | |
| index.js | 279 kB xet | 614d5659 | |
| package.json | 343 Bytes xet | 0204968d |
yarn-lockfile
Parse and/or write yarn.lock files
Usage Examples
const fs = require('fs');
const lockfile = require('@yarnpkg/lockfile');
// or (es6)
import fs from 'fs';
import * as lockfile from '@yarnpkg/lockfile';
let file = fs.readFileSync('yarn.lock', 'utf8');
let json = lockfile.parse(file);
console.log(json);
let fileAgain = lockfile.stringify(json);
console.log(fileAgain);
- Total size
- 3.75 GB
- Files
- 76,734
- Last updated
- Sep 11
- Pre-warmed CDN
- US EU US EU