yarn_parser v0.2.0 YarnParser View Source

A parser for Yarn lock files

Link to this section Summary

Functions

Returns the version of a parsed lockfile

Parses a lock file

Link to this section Functions

Specs

get_version(map()) :: nil | integer()

Returns the version of a parsed lockfile

Specs

parse(binary()) :: {:ok, map()} | {:error, String.t()}

Parses a lock file