cnp 1.0.0

A utility tool written in Rust to check unused node packages.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub const PACKAGE_JSON_PATH: &str = "package.json";
pub const EXTENSIONS: [&str; 5] = ["js", "ts", "jsx", "tsx", "mdx"];
pub const IGNORE_FOLDERS: [&str; 10] = [
    "node_modules",
    "dist",
    "build",
    "public",
    ".next",
    ".git",
    "coverage",
    "cypress",
    "test",
    "output",
];