Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "titleize", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Capitalize every word in a string: unicorn cake → Unicorn Cake", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "node test.js" | ||
"test": "xo && ava" | ||
}, | ||
@@ -36,4 +36,5 @@ "files": [ | ||
"devDependencies": { | ||
"ava": "0.0.4" | ||
"ava": "*", | ||
"xo": "*" | ||
} | ||
} |
@@ -8,3 +8,3 @@ # titleize [![Build Status](https://travis-ci.org/sindresorhus/titleize.svg?branch=master)](https://travis-ci.org/sindresorhus/titleize) | ||
```sh | ||
``` | ||
$ npm install --save titleize | ||
@@ -17,9 +17,9 @@ ``` | ||
```js | ||
var titleize = require('titleize'); | ||
const titleize = require('titleize'); | ||
titleize('foo bar'); | ||
//=> Foo Bar | ||
//=> 'Foo Bar' | ||
titleize('foo-bar'); | ||
//=> Foo-Bar | ||
//=> 'Foo-Bar' | ||
``` | ||
@@ -26,0 +26,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2466
4
2