@thundernetworkrad/files

2022.12.2-9.1 • Public • Published

files

  • Create a directory

Async

require('@thundernetworkrad/files').mkdir('./example')

It will create a directory called example

  • Delete a directory

Async

require('@thundernetworkrad/files').rmdir('./example')

It will delete a directory called example

  • Map a directory

Async

require('@thundernetworkrad/files').map('./example/*/*.js')

It return a list with the full path of all the file that ends with .js in a subfolder of ./example

Readme

Keywords

none

Package Sidebar

Install

npm i @thundernetworkrad/files

Weekly Downloads

2

Version

2022.12.2-9.1

License

ISC

Unpacked Size

3.7 kB

Total Files

4

Last publish

Collaborators

  • gabrieleyt9768
  • killerbossoriginal