Socket
Socket
Sign inDemoInstall

titleize

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

titleize - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

license

7

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc