npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mapping-thesis

v1.0.4

Published

Mapping Software Created using OpenLayers for thesis project

Downloads

4

Readme

OpenSourceMapping

A repo for testing open source solutions for my thesis on associated branches. The winner will be on the main branch

How to run the project

npm install to install all the dependencies npm start to start the project

CI/CD

Tests

/src/tests contains all the tests for the application. These are run using npm test and are run on every push to the repo.

Check for unused dependencies

npm-check to find the unused packages npm uninstall <package_name> remove the package and module folder

NPM Packaging

npm login to login to npm npm publish to publish the package to npm but make sure to increment the version number in package.json first

Capacitor

Make sure to remove the home page from the package.json file before building the app. This is because the home page is not a capacitor page and will cause the app to crash. Firstly make sure you have a fresh build of npm run build and then run npx cap sync to copy the build to the capacitor project. Then run npx cap open android to open the project in Android Studio. You can then run the project from there. Then you can do the same for iOS with npx cap open ios and then run the project from XCode.

Make sure to remove the homepage link inside the package.json because it interferes with the npx suite when developing capacitor apps

What has happened so far

Weeks 1-6

Implemented GeoMoose, OpenLayers and Leaflet for the purpose of being able to upload geojson and stress test each of them until failure. The results are that GeoMoose and Leaflet performed poorly in comparison to openlayers. Choosing OpenLayers as the winner, we can start building the final application.

Weeks 7-13

The aim is to build the main functionality of the application. This includes: The Plan content below which can be summarised as mapping capabilities, offline capabilities and eventually packaging the application for use in FAIMS.

The Plan

  • [x] Implement the main UI from figma
  • [x] Build the map for the main UI

Implement Steve's features including:

  • [x] Buttons to draw geoJson points, lines and polygons

Implement requirements from the thesis:

  • [ ] Create, Upload and Delete GeoJSON files
  • [x] Implement points
  • [x] Implement polygons
  • [x] Implement lines
  • [ ] Implement symbology (aka colour picker for points, lines and polygons)

Offline Capabilities:

  • [ ] Implement local storage for GeoJson
  • [ ] Implement local storage for symbology
  • [ ] Implement local storage for user input
  • [ ] Implement local storage for map tiles offline caching
  • [ ] Implement GeoTiff uploading tiles
  • [ ] Implement Queries for geojson and symbology

Performance

  • [x] Create benchmarks for performance
  • [ ] Automate regression tests
  • [ ] Maintain benchmarking