yarn_lock_parser

Function parse_str

Source
pub fn parse_str(content: &str) -> Result<Lockfile<'_>, YarnLockError>
Expand description

Accepts the yarn.lock content and returns all the entries.

ยงErrors

  • YarnLockError