Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellDPS committed Nov 5, 2020
1 parent f05c3a3 commit b147ff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**jsame** is a JS library to decode [EAS](http://en.wikipedia.org/wiki/Emergency_Alert_System)/[SAME](http://en.wikipedia.org/wiki/Specific_Area_Message_Encoding) (Emergency Alert System/Specific Area Message Encoding) alert messages. These messages are primarily used by the National Weather Service for weather-related warnings.
**jsame** will decode a demodulated message, filter by SAME ([US](http://www.nws.noaa.gov/nwr/coverage/county_coverage.html)/[CA](http://www.ec.gc.ca/meteo-weather/default.asp?lang=En&n=E5A4F19C-1)) and/or event code, provide readable object back.

**PLESE DONT TRUST THIS CODE WITH YOUR LIFE... COMMON SENSE GUYS**
**PLESE DONT TRUST THIS CODE WITH YOUR LIFE... *COMMON SENSE***

### Requirements

Expand All @@ -14,7 +14,7 @@

### Installation

> npm install @maxwelldps/jsame
`$ npm install @maxwelldps/jsame`

### Usage

Expand Down Expand Up @@ -44,11 +44,11 @@ Example input
>EAS: ZCZC-WXR-RWT-055027-055039-055047-055117-055131-055137-055139-055015-055071+0030-0771800-KMKX/NWS -
```js
var SAME = require("./dsame.js");
var jsame = require("./jsame.js");

Message = "ZCZC-WXR-RWT-055027-055039-055047-055117-055131-055137-055139-055015-055071+0030-0771800-KMKX/NWS-";

decodedMeassage = SAME.decode(Message);
decodedMeassage = jsame.decode(Message);
console.log(decodedMeassage["MESSAGE"]);
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsame",
"version": "0.2.2",
"version": "0.2.3",
"description": "js SAME EAS message decoder",
"main": "app.js",
"keywords": [
Expand Down

0 comments on commit b147ff8

Please sign in to comment.