Skip to content

Commit 1408e52

Browse files
authored
Update package version number
Also remove `bower.json` and update README
1 parent eaf8cc4 commit 1408e52

File tree

6 files changed

+45
-31
lines changed

6 files changed

+45
-31
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ katapult-geometry.js - Javascript GIS Mapping Calculations
44
katapult-functions.js - misc useful helper functions
55

66
## NPM Support
7-
Versions 2.0.0 and higher use ES6 modules. For the html imports version, see version 1.1.6.
7+
Versions 3.0.2 and higher export named ES6 modules.
8+
9+
For the bare imports version, see version 2.0.0.
10+
11+
For the html imports version, see version 1.1.6.
812

913
## Installation
1014
Install with npm
11-
```npm install --save https://github.com/KatapultDevelopment/katapult-toolbox.git```
15+
```
16+
npm install --save https://github.com/KatapultDevelopment/katapult-toolbox.git#3.0.2
17+
```
1218

1319
Then import the modules you need
1420
```javascript
15-
import 'katapult-toolbox/katapult-functions.js'
16-
import 'katapult-toolbox/katapult-geometry.js'
21+
import { KatapultFunctions, KatapultGeometry } from 'katapult-toolbox';
1722
```
1823

19-
##Usage
20-
```k.latLongToXY(lat, long)``` - Calculate XY projection of LL in UTM Feet
21-
22-
Other functions need to be added to readme!
24+
## Usage
25+
```KatapultGeometry.latLongToXY(lat, long)``` - Calculate XY projection of LL in UTM Feet

bower.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import * as Functions from './katapult-functions.js';
22
import * as Geometry from './katapult-geometry.js';
33

44
export const KatapultFunctions = { ...Functions };
5-
export const KatapultGeometry = { ...Geometry };
5+
export const KatapultGeometry = { ...Geometry };

package-lock.json

Lines changed: 31 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "katapult-toolbox",
3-
"version": "3.0.0",
3+
"version": "3.0.2",
44
"description": "Javascript GIS Mapping Calculations and misc useful helper functions",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)