Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

geowords

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geowords

Tool for encoding geographic coordinates as sequence of words from bip39 or other dictionary

  • 0.4.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29
increased by1350%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to geowords 👋

Version Documentation Maintenance License: BSD--3--Clause

Tool for encoding geographic coordinates as sequence of words from bip39 or other dictionary

🏠 Homepage

Command line interface

Install

yarn global add geowords

or

npm install --global geowords

Usage

> geowords encode 23 23 4
ship add travel abstract
> geowords decode ship add travel
22.9998779296875 22.9998779296875
> geowords decode ship add
22.939453125 22.8515625

Encode or decode geographic coordinates:

geowords encode [lat] [lon] [words] [options]
  lat    latitude         [required]
  lon    longitude        [required]
  words  number of words  [default: 4]
geowords decode [words...]
  words  coordinates encoded as words [required]
Options:
  --dict      select embedded dictionary ( bip39 | doi )
              [default: "bip39"]
  --dictFile  load dictionary from file  [string]

Generate dictionary

geowords dictionary [sourceFile] [dictFile]
  sourceFile  file containing text to create dictionary from          [required]
  dictFile    file to save dictionary to                              [required]
Options:
  --help           Show help                                           [boolean]
  --version        Show version number                                 [boolean]
  --minWordLength  minimum word length                              [default: 3]
  --maxWordLength  maximum word length                             [default: 10]
  --maxLength      maximum dictionary length                     [default: 4096]
  --format         output format ( list | json | esm )[string] [default: "list"]

Package

📄 API Documentation

Install package

yarn add geowords

or

npm install --save geowords

Run tests

npm test

Author

👤 Michał Łaszczewski

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Michał Łaszczewski.

This project is BSD--3--Clause licensed.


This README was generated with ❤️ by readme-md-generator

Keywords

FAQs

Package last updated on 10 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc