I have some JavaScript I want to make available for people to use. The JavaScript project is called, say, Sharp Knife . The key point is that it has a space in it.
How do I name the minified JS file of version 1.0 to be consistent with prevailing conventions?
sharp-knife-1.0.min.js
sharp.knife-1.0.min.js
sharpknife-1.0.min.js
Use whatever you prefer. But please don't use spaces - they are ugly in URLs (and filenames imho)
I'd probably use a CamelCased filename, ie SharpKnife-1.0.min.js
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.