#[napi] pub fn get_words() -> Vec<&'static str> { vec!["foo", "bar"] } #[napi] /// Gets some numbers fn get_nums() -> Vec { vec![1, 1, 2, 3, 5, 8] } #[napi] fn sum_nums(nums: Vec) -> u32 { nums.iter().sum() }