forked from jillix/url.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "urljs",
"version": "2.4.0",
"description": "A lightweight JavaScript library to manipulate the page url.",
"main": "lib/index.js",
"directories": {
"example": "example",
"test": "test"
},
"scripts": {
"test": "node test",
"release": "browserify lib/index.js -s Url -o src/url.min.js && babel src/url.min.js | uglifyjs -c -m -o src/url.min.js"
},
"contributors": [
"Ionică Bizău <[email protected]> (http://ionicabizau.net)",
"Robert Benko <[email protected]> (http://www.quazistax.com)",
"Andrey Mikhaylov <[email protected]> (http://github.com/lolmaus/)"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jillix/url.js.git"
},
"keywords": [
"url",
"manipulate",
"browser"
],
"author": "jillix <[email protected]> (http://jillix.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jillix/url.js/issues"
},
"homepage": "https://github.com/jillix/url.js",
"devDependencies": {
"ghosty": "^1.1.0",
"lien": "0.0.15",
"tester": "^1.3.0"
},
"blah": {
"title": "url.js",
"description": [
{
"h2": "Demo"
},
{
"p": "Browse the demos on http://jillix.github.io/url.js/"
},
{
"p": "[![](http://i.imgur.com/BYxaxU1.png)](http://jillix.github.io/url.js/)"
},
{
"h2": "CDN"
},
{
"p": "The library is available on [CDNJS](https://cdnjs.com/libraries/urljs) as well. To use it, just do:"
},
{
"code": {
"language": "html",
"content": "<script src=\"https://cdnjs.cloudflare.com/ajax/libs/urljs/1.2.0/url.min.js\"></script>"
}
},
{
"h2": "Usage"
},
{
"code": {
"language": "html",
"content": [
"<script src=\"path/to/url.js\"></script>",
"<!-- or use the cdn",
"<script src=\"https://cdnjs.cloudflare.com/ajax/libs/urljs/1.2.0/url.min.js\"></script>",
"-->",
"<script>",
" Url.updateSearchParam(\"answer\", 42);",
"</script>"
]
}
},
{
"h2": "CommonJS-compatible"
},
{
"p": "The library is CommonJS-compatible. You can `require(\"url.js\")` in your files."
}
]
}
}