New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

canada-neighbourhood

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canada-neighbourhood

Canada neighbourhood data with crawler

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Canada neighbourhood data with crawler

Install

npm i canada-neighbourhood
# OR
yarn add canada-neighbourhood

Data Folder Structure

 - original             --- Original GeoJson
   - 📁 AB               --- Province AB
     - Edmonton.geojson  --- Geojson
     - Edmonton.json     --- A list of neighbourhood names and unique code
   - 📁 BC
   - 📁 ON
   - 📁 QC
 - reduced             --- reduced GeoJson
   - 📁 AB 
   - 📁 BC
   - ...
 - data.json           --- e.g. {"ON":{"Hamilton":["Ainslie Wood","Ainslie Wood East", ...]}}
 - metadata.json       --- e.g. {"AB": ["Edmonton"], "ON": ["Toronto", ...]}

APIs

const {update, copy} = require('canada-neighbourhood');
copy(path: string)

Copy the whole data folder to a given path.

update([path: string, print: boolean])

Update the data folder inside this package. If path is given, also copy the updated data folder to the given path. Set print to true will enable log into the console.

FAQs

Package last updated on 11 Jan 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc