
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
example-cities
Advanced tools
An list of common cities around the world, their longitude/latitude and wikipedia link. This module is indended to be used only for examples / demos.
An list of common cities around the world, their longitude/latitude and wikipedia link. This module is indended to be used only for examples / demos.
Created from the following Wikipedia pages:
https://en.wikipedia.org/wiki/Latitude_and_longitude_of_cities,_A-H https://en.wikipedia.org/wiki/Latitude_and_longitude_of_cities,_I-P https://en.wikipedia.org/wiki/Latitude_and_longitude_of_cities,_Q-Z
var cities = require('example-cities');
console.log(cities[0].latitude);
console.log(cities[0].longitude);
console.log(cities[0].name);
To update the list of cities, run, first install the dependencies
npm install
Then
npm run update
Which will update the cities.json
file.
FAQs
An list of common cities around the world, their longitude/latitude and wikipedia link. This module is indended to be used only for examples / demos.
The npm package example-cities receives a total of 49 weekly downloads. As such, example-cities popularity was classified as not popular.
We found that example-cities demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.