Search code in javascript

how to search specific content in folder,that contains many sub folders and many files,the key i have searched and value should be stored in separate coloumn…i need it to be done in javascript,

Javascript is client-side working in a browser. There would be much better ways to search your folders and files for specific text strings.

For example, you could use a text editor such as Notepad++ to do a “find in files” search.

Not necessarily - you can also run it on the server where it would then have access to read through an entire directory. Of course then there wouldn’t be the requirement that it must be done in JavaScript as any server side language can be used. as long as it is installed on the server.