Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
coverage/
npm-debug.log
npm-debug.log
.tap/
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.5.0
* Includes abandoned/banished packages to allow for security updates

## 0.4.0

* Adds support for simplestyle-spec. Thanks [Vincent Sels!](https://github.com/vincentsels)
Expand Down
17 changes: 0 additions & 17 deletions HELP.md

This file was deleted.

22 changes: 4 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
[![Build Status](https://travis-ci.org/mapbox/tokml.png)](https://travis-ci.org/mapbox/tokml) [![Coverage Status](https://coveralls.io/repos/mapbox/tokml/badge.png)](https://coveralls.io/r/mapbox/tokml)

# tokml


Convert [GeoJSON](http://geojson.org/) to [KML](https://developers.google.com/kml/documentation/).

## Usage

with node/browserify

npm install --save tokml

otherwise:
with node

wget https://raw.github.com/mapbox/tokml/master/tokml.js
npm install --save https://github.com/SenteraLLC/tokml.git

as a binary:

npm install -g tokml
tokml file.geojson > file.kml
tokml < file.geojson > file.kml

## Example

Expand Down Expand Up @@ -78,11 +68,7 @@ for the full document.

## Development

Requires [node.js](http://nodejs.org/) and [browserify](https://github.com/substack/node-browserify):

To build `tokml.js`:

make
Requires [node.js](http://nodejs.org/) :

To run tests:

Expand Down
20 changes: 0 additions & 20 deletions index.html

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var strxml = require('strxml'),
var strxml = require('./src/strxml.js'),
tag = strxml.tag,
encode = strxml.encode;

Expand Down
29 changes: 9 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,28 @@
{
"name": "tokml",
"version": "0.4.0",
"description": "convert geojson to kml",
"version": "0.5.0",
"description": "Convert geojson to kml",
"main": "index.js",
"scripts": {
"test": "tap test/*.js",
"build": "browserify -s tokml index.js > tokml.js",
"cov": "istanbul cover test/kml.test.js && coveralls < ./coverage/lcov.info"
"test": "tap test/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mapbox/tokml.git"
"url": "https://github.com/SenteraLLC/tokml.git"
},
"keywords": [
"kml",
"geojson",
"geo",
"maps"
],
"bin": {
"tokml": "tokml"
},
"author": "Tom MacWright",
"license": "BSD-2-Clause",
"devDependencies": {
"glob": "~3.2.6",
"corslite": "0.0.5",
"tap": "~0.4.8",
"fuzzer": "0.0.0",
"coveralls": "~2.10.0",
"istanbul": "~0.2.11"
},
"dependencies": {
"minimist": "0.1.0",
"strxml": "0.0.0",
"rw": "0.0.4"
"glob": "13.0.1",
"random-js": "^2.1.0",
"tap": "^21.5.1",
"traverse": "^0.6.11",
"xtend": "^4.0.2"
}
}
25 changes: 0 additions & 25 deletions site/index.js

This file was deleted.

Loading