1.1.0 • Published 1 year ago

seiscomp v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

A library for interacting with SeisComP, the modular system for processing and distributing seismic data. Runs on Node and in the browser. Developed with bun.js (a Node.js alternative using JavaScriptCore - you should try it! it's faster than Node and you don't have to build your TypeScript project to test it). Also fully typed.

Installation

npm install seiscomp

Documentation

lyricalsoul.github.io/seiscomp - proudly generated by typedoc!

Features

Currently, seiscomp.js only supports a subset of the FDSNWS module. Support for seedlink is planned, using a modular approach for maximum compatibility. If you need for a module to be implemented, do not hesitate on contacting by opening an issue.

Notes

  • The library is still in development. Bugs may occur.

Examples

import { FDSNWS } from 'seiscomp'


const client = new FDSNWS('https://moho.iag.usp.br/fdsnws/')

await client.station.queryNetwork('BL')

await client.station.query()
  .channel.network('BR')
  .channel.station('VIL?')
  .time.startAfter('2013-01-01')
  .finish()
  .then(console.log)