mapbox / mapbox/concaveman

Standalone bundled script

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
724
Forks
84
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm using D3.js for years and now Leaflet more often and need to display the concave regions from points in the same area.

Now, I know how to script Electron (Node.js) applications yet am not versed to bundle (node) modules to standalone files e.g. bundled with all dependent libraries into one file.

Is there concaveman.js available with this requirement - or is there an easy way to pack it into one file (to be used in a web browser with either D3.js or Leaflet or other script/code)?

It's funny that concaveman(points) function works in the web browser console yet doesn't on a page.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how concaveman.js currently exposes the concaveman(points) entry point and how the package is built or published; no specific files or tests are named in the issue. Reproduce the difference between the browser console and a page, then determine the expected standalone browser artifact and verify that it works with the documented usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.