## Usage Requires [Node.js](https://nodejs.org/en/) {%= engines.node %}. **Project name** The project name is resolved in this order: 1. Check for package.json, if it exists `name` is returned 2. Check for git repository, if it exists return the `name` parsed from the remote origin URL 3. Otherwise, use `path.basename(process.cwd())` ```js const name = require('{%= name %}'); console.log(name()); // or console.log(name('some/file/path')); ```