File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
parse-domain
2
2
============
3
- ** Splits a URL into sub-domain, domain and the top-level domain.**
3
+ ** Splits a URL into sub-domain, domain and the top-level domain. Provides TypeScript typings. **
4
4
5
5
[ ![ ] ( https://img.shields.io/npm/v/parse-domain.svg )] ( https://www.npmjs.com/package/parse-domain )
6
6
[ ![ ] ( https://img.shields.io/npm/dm/parse-domain.svg )] ( https://www.npmjs.com/package/parse-domain )
Original file line number Diff line number Diff line change 3
3
"version" : " 2.3.0" ,
4
4
"description" : " Splits an url into sub-domain, domain and effective top-level-domain" ,
5
5
"main" : " ./lib/parseDomain.js" ,
6
- "types" : " ./lib /index.d.ts" ,
6
+ "types" : " ./src /index.d.ts" ,
7
7
"scripts" : {
8
8
"build" : " run-s build:lib build:tries" ,
9
9
"build:lib" : " run-s build:lib:clean build:lib:babel" ,
61
61
" scripts" ,
62
62
" lists" ,
63
63
" test" ,
64
- " build"
64
+ " build" ,
65
+ " src/index.d.ts"
65
66
]
66
67
}
You can’t perform that action at this time.
0 commit comments