js_parser

Functions

pub fn main() -> String

A cli with a flag, f, that takes a path to a file and returns its string contents.

pub fn read_file(path: String) -> String

Reads a file and returns either the contents of the file or an empty string if it’s not found

Search Document