TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Smasher – Turn your directories to JSON and back (XML, YML support on it's way)

3 pointsby kamranahmed_seover 9 years ago

1 comment

kamranahmed_seover 9 years ago
Note that: It isn&#x27;t a compressor, the name &quot;Smasher&quot; might make you think that it is a compressor (terrible name, I chose), but it isn&#x27;t. The idea is to use it programatically. Originally it was used to index cloud formation scripts that were stored on disk. It will parse the files assuming that they are JSON files. However there can be many usages, For example:<p>- When parsing several directories of files it&#x27;s nice to just provide a path rather than iterating through all the directories (which means more memory and usage of resources).<p>- You may use it to index your directories and easily locate the place you are looking for.<p>- Or may be you can use it to search files or folders based on some keywords.<p>- Or you can use it where you need some sort of virtual filesystem