Skip to content

Commit fe1ffc9

Browse files
Added license, increased version, updated readme
1 parent 52e05ee commit fe1ffc9

File tree

3 files changed

+26
-10
lines changed

3 files changed

+26
-10
lines changed

license.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Sven Ulrich
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-string-operations",
3-
"version": "1.0.4",
3+
"version": "1.1.0",
44
"description": "Simple lightweight string operation library for Typescript",
55
"main": "source.ts",
66
"scripts": {
@@ -16,7 +16,7 @@
1616
"string format"
1717
],
1818
"author": "Sven Ulrich <[email protected]> (holdmybeer.de)",
19-
"license": "UNLICENSED",
19+
"license": "MIT",
2020
"bugs": {
2121
"url": "https://github.com/sevensc/typescript-string-operations/issues"
2222
},
@@ -32,5 +32,8 @@
3232
"qunitjs": "^2.1.1",
3333
"ts-node": "^3.2.0",
3434
"typescript": "^2.4.1"
35+
},
36+
"directories": {
37+
"test": "tests"
3538
}
3639
}

readme.md

-8
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ var value = String.Join("; ", array);
6060
//output: "Apple; Banana";
6161
```
6262

63-
64-
#### Simply reference compiled `source.js` in your project.
65-
66-
```javascript
67-
<script type="text/javascript" src="node_modules/source/source.js"></script>
68-
```
69-
70-
7163
## Methods
7264

7365
| Method | Type | Description | Parameter |

0 commit comments

Comments
 (0)