xjs-node 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/func/u-file.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[![npm][npm-badge]][npm-url] [![CI][ci-badge]][ci-url] [![publish][publish-badge]][publish-url]
|
|
2
2
|
|
|
3
3
|
# Overview
|
|
4
|
-
Library modules for nodejs + typescript that
|
|
4
|
+
Library modules for nodejs + typescript that bundle general-purpose implementations.
|
|
5
5
|
This module focuses on implementation that extends nodejs builtin modules, and dependency is only [xjs-common](https://github.com/begyyal/xjs_common).
|
|
6
6
|
|
|
7
7
|
# Install
|
package/build/func/u-file.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare namespace UFile {
|
|
|
6
6
|
* this returns boolean whether mkdir was executed or not.
|
|
7
7
|
*/
|
|
8
8
|
function mkdir(p: MaybeArray<string>): boolean;
|
|
9
|
-
function write(p: MaybeArray<string>, c: string): Promise<void>;
|
|
9
|
+
function write(p: MaybeArray<string>, c: string | NodeJS.ArrayBufferView): Promise<void>;
|
|
10
10
|
/**
|
|
11
11
|
* remove a file. default is no error if the file to be removed doesn't exist.
|
|
12
12
|
* @param p path of the file. if passed as an array those are joined.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xjs-node",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "library modules for nodejs + typescript that
|
|
3
|
+
"version": "3.2.1",
|
|
4
|
+
"description": "library modules for nodejs + typescript that bundle general-purpose implementations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/begyyal/xjs_node"
|