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

crimemap-sync-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crimemap-sync-cli

A syncronizer client tool to import crime data to crimemap database.

  • 0.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

crime-sync-cli · GitHub license npm version Build Status codecov code quality

crime-sync-cli is CLI tool that provides useful commands to import crimes data to crimemap database. It is a interface to crimemap-sync-api server that you can use to dispatch data syncronization workers on its api server.

Overview diagram

The diagram below gives a ideia of how the syncronization process works.

Diagram

Installation

Install crime-sync-cli with

$ npm i --global crimemap-sync-cli

And type the following line to test the installation

$ crime-sync --version

Since the crimemap-sync-cli is just a interface to syncronization server, you need to install the sync server as well. Follow the these instructions to get sync server installed.

Usage

Usage: crime-sync [command]

A syncronizer client tool to import crime data to crimemap database.

Options:
  -V, --version                output the version number
  -h, --help                   output usage information

Commands:
  login <username> <password>  Log-in into crimemap database.
  logout                       Log-out from crimemap database.
  import <pdf-url>             Import crimes data from pdf file crimemap database.
  list-imports [options]       List the top 10 most recents data imports.
  remove-import <ID>           Remove a crime data import.

Examples:
  $ crime-sync import http://domain.com/files/crimesdata-2019-02-05.pdf

Tech stack

License

MIT © paulosales

Keywords

FAQs

Package last updated on 06 Jan 2020

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