https://github.com/djh-dev/bdvloped-palindrome
NPM test module
https://github.com/djh-dev/bdvloped-palindrome
npm-module npm-package npmjs tdd-javascript
Last synced: 2 months ago
JSON representation
NPM test module
- Host: GitHub
- URL: https://github.com/djh-dev/bdvloped-palindrome
- Owner: DJH-dev
- Created: 2020-01-12T13:57:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-20T20:34:56.000Z (over 5 years ago)
- Last Synced: 2025-03-16T08:41:36.671Z (2 months ago)
- Topics: npm-module, npm-package, npmjs, tdd-javascript
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phrase object (with palindrome detector)
this is a sample NPM module created in [Learn Enough JavaScript to Be Dangerous](https://www.learnenough.com/) by Michael Hartl.
The module can be used as follows:
```
$ npm install --global bdvloped-palindrome
$ vim test.js
let Phrase = require("bdvloped-palindrome");
let napoleonsLament = new Phrase("Able was I, ere I saw Elba.");
console.log(napoleonsLament.palindrome());
$ node test.js
true
```