0.1.6 • Published 3 years ago
unpkgfs v0.1.6
unpkgfs
import { fs, npm } from 'unpkgfs';
npm.init({
name: 'test',
version: '0.0.1',
});
await npm.install({
'@types/react': '17.0.2',
});
expect(
JSON.parse(
fs
.readFileSync('/node_modules/@types/react@17.0.2/package.json')
.toString('utf-8')
).description
).toBe('TypeScript definitions for React');
0.1.6
3 years ago
0.1.6-alpha.1
3 years ago