New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

codesee

Package Overview
Dependencies
Maintainers
7
Versions
1097
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codesee

CodeSee instrumentation and analysis to support developers with continuous code understanding

  • 0.728.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
7.3K
decreased by-16.83%
Maintainers
7
Weekly downloads
 
Created
Source

CodeSee CLI tools

Generating maps locally

  1. Navigate to the root of the repo you want to map

  2. Generate a map:

    npx codesee map --typescript -o my-repo.map.json
    
  3. If you don't already have an API token, generate one with yarn new:api-token

  4. Upload the map using your API token:

    npx codesee upload -a <your-token> -r <repo-url> -u http://localhost:5198 ./my-repo.map.json
    

Example

Let's say we want to generate a map of Maxime's little-do repository.

  1. Clone the repo:

    git clone https://github.com/deammer/little-do
    
  2. Navigate into the repo:

    cd little-do
    
  3. Generate a map and output it to the little-do.map.json file:

    npx codesee map --typescript -o little-do.map.json
    
  4. If you don't already have an API token, generate one with yarn new:api-token

  5. Upload the map to your local server:

    npx codesee upload -a 'your-api-token-in-single-quotes' -r 'https://github.com/deammer/little-do' -u http://localhost:5198 ./little-do.map.json
    
  6. Your map should now be visible on the /maps page!

Generating insights locally

  1. Navigate to the root of the repo of your choice

  2. Generate an insights file (see the available insight types in shared-constants):

    npx codesee insight -i commitCountLast30Days -o codesee.commitCountLast30Days.json
    
  3. If you don't already have an API token, generate one with yarn new:api-token

  4. Upload your insights to your local server:

    npx codesee upload -u http://localhost:5198 -t insight -a 'your-api-token-in-single-quotes' -r 'https://github.com/organization/repo-name' codesee.commitCountLast30Days.json
    

Keywords

FAQs

Package last updated on 01 Feb 2024

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