Skip to content

Commit 14f409b

Browse files
committed
Meta tweaks
1 parent 7ac6111 commit 14f409b

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ language: node_js
22
node_js:
33
- '12'
44
- '10'
5+
- '8'

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow",
55
"license": "MIT",
66
"repository": "sindresorhus/decamelize",
7+
"funding": "https://github.com/sponsors/sindresorhus",
78
"author": {
89
"name": "Sindre Sorhus",
910
"email": "sindresorhus@gmail.com",
@@ -28,13 +29,12 @@
2829
"dash",
2930
"hyphen",
3031
"string",
31-
"str",
3232
"text",
3333
"convert"
3434
],
3535
"devDependencies": {
36-
"ava": "^1.4.1",
37-
"tsd": "^0.7.2",
36+
"ava": "^2.4.0",
37+
"tsd": "^0.11.0",
3838
"xo": "^0.24.0"
3939
}
4040
}

readme.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
> Convert a camelized string into a lowercased one with a custom separator<br>
44
> Example: `unicornRainbow``unicorn_rainbow`
55
6-
76
## Install
87

98
```
109
$ npm install decamelize
1110
```
1211

13-
1412
## Usage
1513

1614
```js
@@ -23,7 +21,6 @@ decamelize('unicornRainbow', '-');
2321
//=> 'unicorn-rainbow'
2422
```
2523

26-
2724
## API
2825

2926
### decamelize(input, separator?)
@@ -34,15 +31,13 @@ Type: `string`
3431

3532
#### separator
3633

37-
Type: `string`<br>
38-
Default: `_`
39-
34+
Type: `string`\
35+
Default: `'_'`
4036

4137
## Related
4238

4339
See [`camelcase`](https://github.com/sindresorhus/camelcase) for the inverse.
4440

45-
4641
---
4742

4843
<div align="center">

0 commit comments

Comments
 (0)