lodash_rust/lib.rs
1//! A library for javascript lodash methods in rustlang
2//!
3//! This library methods is meant to give the same output as
4//! their equivalent in javascript, if you notice any bugs or differences
5//! please on an issue.
6//!
7//! # Usage
8//!
9//! First, add this to your Cargo.toml
10//!
11//! ```toml
12//! [dependencies]
13//! lodash_rust = "0.1.0"
14//! ```
15//!
16//! Next:
17//!
18//! ```
19//! use lodash_rust::capitalize;
20//!
21//! fn main() {
22//! let greet = String::from("hello world");
23//! let res = capitalize::new(greet);
24//! println!("{res}") // Hello world
25//! }
26//! ```
27//!
28
29pub mod camel_case;
30pub mod capitalize;
31pub mod difference;
32pub mod kebab_case;
33pub mod snake_case;
34pub mod start_case;
35pub mod drop;
36pub mod drop_right;
37pub mod drop_while;
38pub mod drop_right_while;
39pub mod every;
40pub mod find_last;
41pub mod filter;
42pub mod every_value;
43pub mod find_key;
44pub mod find_last_index;
45pub mod lower_case;
46pub mod upper_case;
47pub mod upper_first;