validate_package_name

Crates.iovalidate_package_name
lib.rsvalidate_package_name
version0.1.2
sourcesrc
created_at2022-10-29 12:57:09.217549
updated_at2022-10-29 13:54:14.928489
descriptionValidate an npm package name.
homepage
repositoryhttps://github.com/custard-pkg/custard/tree/main/crates/validate_package_name
max_upload_size
id701003
size7,551
(SkyfallWasTaken)

documentation

README

validate_package_name

This crate validates an npm package name.

Example

use validate_package_name::validate;

assert!(validate(&String::from("hello")).is_ok())
assert!(validate(&String::from("hi!")).is_err())

License

Apache License 2.0

Commit count: 0

cargo fmt