package
Version:
v0.0.0-...-729d526
Opens a new window with list of versions in this module.
Published: May 28, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package validate checks if the given name is an acceptable npm package name.
type Result struct {
ValidForNewPackages bool
ValidForOldPackages bool
Warnings []string
Errors []string
}
Result is the struct for the result of the validation.
Validate returns the result of whether the given name is an acceptable npm package name.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.