Crates.io | girlfriend |
lib.rs | girlfriend |
version | 0.3.1 |
source | src |
created_at | 2022-06-06 20:12:26.474354 |
updated_at | 2023-04-05 12:45:36.926214 |
description | JavaScript for your Shell |
homepage | https://github.com/phoenixifier/girlfriend |
repository | https://github.com/phoenixifier/girlfriend |
max_upload_size | |
id | 600962 |
size | 77,989 |
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"