Changing front

This commit is contained in:
2023-01-16 17:49:38 +01:00
parent 0b8a93b256
commit 4fe4be7730
48586 changed files with 4725790 additions and 17464 deletions
+22
View File
@@ -0,0 +1,22 @@
# yarn-lockfile
Parse and/or write `yarn.lock` files
## Usage Examples
```js
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);
```
+10273
View File
File diff suppressed because it is too large Load Diff
+15
View File
@@ -0,0 +1,15 @@
{
"name": "@yarnpkg/lockfile",
"version": "1.1.0",
"description": "The parser/stringifier for Yarn lockfiles.",
"main": "index.js",
"repository": "https://github.com/yarnpkg/yarn/blob/master/packages/lockfile",
"keywords": [
"yarn",
"yarnpkg",
"lockfile",
"dependency",
"npm"
],
"license": "BSD-2-Clause"
}