snyk-paket-parser
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

Snyk logo


Snyk helps you find, fix and monitor for known vulnerabilities in your dependencies, both on an ad hoc basis and as part of your CI (Build) system.

Snyk Paket Parser

This parser processes a paket.lock and returns a flat list of dependencies.

For example:

Input paket.lock:

  Microsoft.CSharp (4.5) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))

Output:

  [
    { name: 'Microsoft.CSharp', version: '4.5' restriction: '|| (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))'}
  ]

Dependents (1)

Package Sidebar

Install

npm i snyk-paket-parser

Weekly Downloads

6,739

Version

1.6.0

License

Apache-2.0

Unpacked Size

40.4 kB

Total Files

24

Last publish

Collaborators

  • snyk-admin