Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement fs-extra api for fs modules #261

Closed
axetroy opened this issue Mar 11, 2019 · 11 comments

Comments

5 participants
@axetroy
Copy link
Contributor

commented Mar 11, 2019

fs-extra is a useful tool to process file. most of node library depends on it.

suffice to say that it is very useful.

I am going to implement it with deno.

@zekth

This comment has been minimized.

Copy link
Contributor

commented Mar 11, 2019

Another idea would be to add rimraf function? like rm -rf ?

@shisama

This comment has been minimized.

Copy link
Contributor

commented Mar 13, 2019

Another idea would be to add rimraf function? like rm -rf ?

Is it await Deno.remove("/path/to/dir", {recursive: true}); ?

https://deno.land/typedoc/index.html#remove

@zekth

This comment has been minimized.

Copy link
Contributor

commented Mar 13, 2019

You're right my bad

@axetroy

This comment has been minimized.

Copy link
Contributor Author

commented Mar 13, 2019

I think we should alias Deno.remove to fs.remove .

avoid switch API between Deno and fs

fs.remove(); // same with Deno.remove()
@zekth

This comment has been minimized.

Copy link
Contributor

commented Mar 14, 2019

Add in the task list : Write the readme.MD of the module.

Would you want me to write it?

@axetroy

This comment has been minimized.

Copy link
Contributor Author

commented Mar 14, 2019

@zekth ok, you do it

@GrosSacASac

This comment has been minimized.

Copy link

commented Mar 18, 2019

Hi please consider adding safe delete (move to trash-bin)

@zekth

This comment has been minimized.

Copy link
Contributor

commented Mar 18, 2019

Hi please consider adding safe delete (move to trash-bin)

I think move to trash bin may have it's place in another repository instead of being into the std lib.

@zekth

This comment has been minimized.

Copy link
Contributor

commented Mar 18, 2019

Adding this for readfilestr ref: #276

@lisniuse

This comment has been minimized.

Copy link

commented Mar 24, 2019

I think that shortcuts like fs-extra should be placed in a non-standard library.

@axetroy

This comment has been minimized.

Copy link
Contributor Author

commented Apr 7, 2019

@GrosSacASac
sorry for late response.

move to trash have third party dependence. it should not add to std.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.