https://github.com/kth/npm-template
Template repo for npm-packages
https://github.com/kth/npm-template
Last synced: about 1 month ago
JSON representation
Template repo for npm-packages
- Host: GitHub
- URL: https://github.com/kth/npm-template
- Owner: KTH
- License: mit
- Created: 2019-09-03T19:40:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-29T04:06:22.000Z (over 2 years ago)
- Last Synced: 2025-01-02T07:16:07.234Z (over 1 year ago)
- Language: JavaScript
- Size: 170 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NPM Template  
NPM: https://www.npmjs.com/package/@kth/npm-template
## How to use
```javascript
const package = require("npm-template");
if (package.isWorking()) {
console.log("Hello World!");
}
```
## Run tests
```bash
npm build ## Does npm install and npm test.
```
You can also view the tests at https://travis-ci.org/KTH/npm-template
### Output from tests
```text
Type of tests header
✓ When running tests, expect it to always return 'true'.
```