Zur Seitennavigation oder mit Tastenkombination für den accesskey-Taste und Taste 1 
Zum Seiteninhalt oder mit Tastenkombination für den accesskey und Taste 2 
Hochschullogo

Bitte beachten!! Wegen Wartungsarbeiten steht das QIS am 19. April 2024 ab 13:00 Uhr bis zum 21. April 2024 nicht zur Verfügung!!!
Startseite    Anmelden     

@yarnpkg/lockfile – readme

Zurück
# 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);
```