Okay, since we needed to use mochajs for the GH org and mochajs.org for the site, there's a precedent for MochaJS as the proper name, or Mocha.js. But then again mocha is the package and mocha is the repo and the logo reads "mocha".
An argument for "MochaJS" or "Mocha.js" is that it is unique, and thus easily searchable. An argument for "Mocha" is that it is simple. Curious to hear anybody's thoughts.
@mochajs/core
Sorry for the potentially silly question: Proper name of what? 馃槵
MochaJS seems right to me. If it's the URL, it should be the name. MochaJS is the way I've heard it referenced in the wild.
@willluce would you expect the package name and cli executable to be mochajs?
@boneskull that makes sense. As a developer, I can see that as an evolution of the project. This just feels like pulling everything together and making it more professional. Even npm is https://www.npmjs.com/
I don't think the names of the package and executable need to be changed to reflect a shift in name. Node.js remains node, and it's usually clear what "node" refers to in a conversation's context.
Even npm is https://www.npmjs.com/
Well... can't say for sure, but that might've had something to do with http://www.npm.com/ being a redirect to nasdaqprivatemarket.com. =)
| GH Org | Repo | Package/Executable | Name in Website | Website |
| --- | --- | --- | --- | --- |
| chancejs | chancejs | chance | Chance | http://chancejs.com/ |
| gruntjs | grunt | grunt / grunt-cli | Grunt | http://gruntjs.com/ |
| gulpjs | gulp | gulp / gulp-cli | gulp | http://gulpjs.com/ |
| mochajs | mocha | mocha | Mocha | http://mochajs.org/ |
| nodejs | node | node | Node.js | https://nodejs.org/ |
| unexpectedjs | unexpected | unexpected | Unexpected | http://unexpected.js.org/ |
(feel free to edit and add more)
That list confirms my hunch that the apparent inconsistency in Mocha's naming convention is actually consistent with a common convention for JS libraries and tools.
Even in the absence of such examples, I'd be inclined to keep the current convention on the grounds that:
@dasilvacontin's table basically resolves this issue. excellent work
Most helpful comment
| GH Org | Repo | Package/Executable | Name in Website | Website |
| --- | --- | --- | --- | --- |
| chancejs | chancejs | chance | Chance | http://chancejs.com/ |
| gruntjs | grunt | grunt / grunt-cli | Grunt | http://gruntjs.com/ |
| gulpjs | gulp | gulp / gulp-cli | gulp | http://gulpjs.com/ |
| mochajs | mocha | mocha | Mocha | http://mochajs.org/ |
| nodejs | node | node | Node.js | https://nodejs.org/ |
| unexpectedjs | unexpected | unexpected | Unexpected | http://unexpected.js.org/ |
(feel free to edit and add more)