Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including worldtides with all npm packages installed. Try it out:

/* Source & docs: <https://github.com/fvdm/nodejs-worldtides> API documentation: <https://www.worldtides.info/apidocs> */ /* eslint-disable */ const tides = require ('worldtides'); // Get tide extremes for the next 2 weeks (3 credits) tides ({ key: 'abc123', extremes: '', length: 1209600, stationDistance: 15, lat: 52.381158, lon: 4.4837275, }) .then (data => data.extremes) .then (console.table) .catch (console.error);

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

worldtides v2.0.0

API wrapper for WorldTides.info (unofficial)

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free