Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

read all file names of folder in react

//For REACT
$ npm install --save list-react-files

import listReactFiles from 'list-react-files'
listReactFiles(__dirname).then(files => console.log(files))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #file #names #folder #react
ADD COMMENT
Topic
Name
3+3 =