# leaflet-default

> Quickly create a leaflet map

Latest version **1.0.0** (published 2015-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install leaflet-default
pnpm add leaflet-default
yarn add leaflet-default
bun add leaflet-default
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-02-24 |
| First published | 2015-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Finn Pauls |
| Maintainers | finnpauls |
| Keywords | leaflet, map |

## Links

- npm: https://www.npmjs.com/package/leaflet-default
- Repository: https://github.com/finnp/leaflet-default
- Issues: https://github.com/finnp/leaflet-default/issues
- npm.io page: https://npm.io/package/leaflet-default

## Dependencies (2)

- [leaflet](https://npm.io/package/leaflet.md) ^0.7.3
- [leaflet-map](https://npm.io/package/leaflet-map.md) ^0.2.1

## Recent versions

- 1.0.0 (latest) — 2015-02-24

## README

# leaflet-default
[![NPM](https://nodei.co/npm/leaflet-default.png)](https://nodei.co/npm/leaflet-default/)

Create a full screen leaflet map just like that:

```js
var map = require('leaflet-default')()
```

Then use broserify to create your bundle. Or just use beefy to skip creating a html page.


If you want to add a point just do

```js
var L = require('leaflet')
L.marker([0,0])
  .bindPopup('Null Island!')
  .addTo(map)
```

---
_Source: https://npm.io/package/leaflet-default · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
