Skip to content

Commit 3c65535

Browse files
authored
docs: update misleading naming rule (#27)
1 parent b456a01 commit 3c65535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Below is a list of rules that valid `npm` package name should conform to.
2727
- package name *can* consist of hyphens
2828
- package name must *not* contain any non-url-safe characters (since name ends up being part of a URL)
2929
- package name should not start with `.` or `_`
30-
- package name should *not* contain any leading or trailing spaces
30+
- package name should *not* contain any spaces
3131
- package name should *not* contain any of the following characters: `~)('!*`
3232
- package name *cannot* be the same as a node.js/io.js core module nor a reserved/blacklisted name. For example, the following names are invalid:
3333
+ http

0 commit comments

Comments
 (0)