New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

codehawk

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codehawk

CodeHawk client

latest
npmnpm
Version
3.4.0
Version published
Weekly downloads
19
111.11%
Maintainers
1
Weekly downloads
 
Created
Source

Codehawk Client

This is the official Codehawk client.

For more information on what Codehawk is, please visit the website.

Usage

Install this module globally, configure your project then simply run codehawk in your project root:

  • npm install -g codehawk
  • cd /to/your/project
  • touch hawk.json
  • Ensure your hawk.json configuration contains your project token, and configure any options in here.
  • codehawk

You will be prompted to login on the first run, using your login token which can be grabbed from your dashboard on Codehawk.app.

Options

To customise your analysis, use the following options, placed in a hawk.json file in the root directory.

OptionDescriptionDefault
uploadTokenREQUIRED Your project upload token, taken from https://codehawk.app''
extensionsFile extensions that should be analyzed. The default is always used, but you can add more extensions. Use the exclude option to skip any of the default extensions.['.js', '.jsx', '.ts', '.tsx']
excludeFilenamesFilename matches that should be excluded from analysis. The default is always used, but you can add more matches to be excluded. Note that the matching is exact. The exclude list is taken into consideration after the extension list.['.d.ts', '.min.js', '.bundle.js']
excludeDirectoriesDirectory matches that should be excluded from analysis (but will still show on Codehawk). Relative to the root. E.g. ['/fixtures', '/test']['/dist', '/bin', '/build']
skipDirectoriesDirectories that should be excluded completely (never sent to Codehawk). The defaults will always be skipped.['/node_modules', '/flow-typed', '/coverage']

Supported sources

Codehawk supports many types of javascript source out of the box:

  • Plain JavaScript of any stable specification
  • TypeScript
  • Flow
  • Styled Components, etc

Note that Codehawk cannot understand certain obscure syntax or recently released Flow or TypeScript features, but the client will warn you during usage in this case. Please email us in this scenario so that we can improve Codehawk.

Troubleshooting

For troubleshooting and support, please contact support at support@codehawk.app, or reach out to Sam. Feedback also welcome!

License

(c) Copyright 2019 Sgb Digital Services Ltd, all rights reserved.

FAQs

Package last updated on 19 Nov 2019

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