@@ -36,6 +36,7 @@ npm install --save @jaid/read-file-string@^1.0.4
36
36
37
37
## Example
38
38
39
+
39
40
``` javascript
40
41
import readFileString from " read-file-string"
41
42
@@ -44,7 +45,7 @@ readFileString("./doesNotExist.txt").then(result => {
44
45
})
45
46
```
46
47
47
- Variable ` result ` will now be:
48
+ Variable ` result ` will be:
48
49
49
50
``` javascript
50
51
null
62
63
63
64
64
65
66
+
67
+
68
+
69
+
65
70
## Development
66
71
67
72
@@ -83,26 +88,5 @@ npm run test
83
88
84
89
85
90
## License
86
- ``` text
87
- MIT License
88
-
89
- Copyright © 2020, Jaid <[email protected] > (github.com/jaid)
90
-
91
- Permission is hereby granted, free of charge, to any person obtaining a copy
92
- of this software and associated documentation files (the "Software"), to deal
93
- in the Software without restriction, including without limitation the rights
94
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
95
- copies of the Software, and to permit persons to whom the Software is
96
- furnished to do so, subject to the following conditions:
97
-
98
- The above copyright notice and this permission notice shall be included in all
99
- copies or substantial portions of the Software.
100
-
101
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
104
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
106
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
107
- SOFTWARE.
108
- ```
91
+ [ MIT License] ( https://raw.githubusercontent.com/jaid/read-file-string/master/license.txt )
92
+ Copyright © 2021, Jaid
\< [email protected] > (
https://github.com/jaid )
0 commit comments