
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
`Windelsis` is a JavaScript library that visualizes weather data on interactive maps using Leaflet. It provides tools to render temperature, precipitation, and wind velocity layers, as well as utilities for grid-based weather data management.
Windelsis is a JavaScript library that visualizes weather data on interactive maps using Leaflet. It provides tools to render temperature, precipitation, and wind velocity layers, as well as utilities for grid-based weather data management.
To use Windelsis in your project, install windelsis, or you can build the library and include it in your application.
npm install
npm run build
npm install windelsis
Use Windelsis to create a map with weather layers:
const { MapManager } = Windelsis;
const mapManager = new MapManager(map, fetch_function, options);
Can either be:
L.Map: Pass an existing Leaflet map instance if the map is already created.This flexibility allows you to let Windelsis handle map creation or integrate it with an existing Leaflet map setup.
This function retrieves weather data based on two parameters:
latitude and longitude.It must return data in the same order as received. If fetch_function is null, the library defaults to openMeteoApiCaller from apiService.js, which fetches data from the Open-Meteo API without requiring an API key.
This flexible approach allows you to source weather data from any provider, such as a database or a meteorological API.
The options parameter is an object that configures the behavior of the MapManager instance. It supports the following properties:
center ([latitude, longitude], required):
zoom (number, required):
randomData (boolean, optional):
true, the map will generate random weather data for testing purposes.false.demoMode (boolean, optional):
true, enables demo mode with preconfigured settings for testing.false.windyParameters (object, optional):
maxVelocity (number): Maximum wind velocity for the visualization.velocityScale (number): Scale factor for wind velocity.particleAge (number): Lifespan of particles in frames.lineWidth (number): Width of the wind lines.particleMultiplier (number): Multiplier for the number of particles.frameRate (number): Frame rate for the animation.maxBounds ([[lat1, lng1], [lat2, lng2]], optional):
null (no bounds).pointDistance (number, optional):
null (if not set, windelsis calculates it based on maxGrindPoints and the limits of the map).maxGridPoints (number, optional):
600.mapManager.getCurrentData()
//for now can fetch just one date for forecast
mapManager.getForecastData(forecastDate, forecastDate)
mapManager.getHourlyForecast(forecastDate, forecastDate, forecastTime)
Open the demo files in your browser. I use the Live Server extension in Visual Studio Code for a quick local server setup.
windelsis is possible because of things like:
This project is licensed under the MIT License.
FAQs
`Windelsis` is a JavaScript library that visualizes weather data on interactive maps using Leaflet. It provides tools to render temperature, precipitation, and wind velocity layers, as well as utilities for grid-based weather data management.
The npm package windelsis receives a total of 0 weekly downloads. As such, windelsis popularity was classified as not popular.
We found that windelsis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.