3 releases (breaking)
0.3.1 | Apr 5, 2023 |
---|---|
0.2.0 | Aug 1, 2022 |
0.1.0 | Jun 6, 2022 |
#51 in #write-file
22KB
181 lines
UPDATE 2023-02-07: This repo has been updated to support loading JavaScript and TypeScript files.
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.05s
Running `target/debug/girlfriend ./test.js`
[out]: "Hello" "girlfriend!"
[err]: "Boom!"
[err]: "Unable to read file" "./log.txt" {"code":"ENOENT"}
[out]: "Read from a file" "./log.txt" "contents:" "I can write to a file."
[out]: "Removing file" "./log.txt"
[out]: "File removed"
Dependencies
~106MB
~2M SLoC