Is the market open right now? When does it next open or close? A holiday-aware, timezone-correct trading clock with NSE/BSE presets — or bring your own exchange spec.
Install
$ npm install @lacspace/market-clock
Quick example
@lacspace/market-clockts
new MarketClock(NSE).status()
Returns "open"
Tips
Zero-dependency and isomorphic — safe to import on the server, in the browser, on the edge and in React Native. It tree-shakes, so you only ship what you import.
Looking for the complete API and more examples? The npm page and GitHub README carry the full reference — or grab the PDF.