Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
CLI editor made for fun
Install:
npm install -g chi-editor
chi <file-name>
Hotkey | Description |
---|---|
C-q or C-c | Quit the editor |
C-s | Save the buffer to file |
Return | Split lines |
Backspace | Delete previous character, merge lines |
Delete | Delete current character |
C-p or up | Move cursor to previous row |
C-n or down | Move cursor to next row |
C-b or back | Move cursor to forward |
C-f or right | Move cursor to backward |
Esc | Ignore |
C-u | Undo |
Home | Move cursor to start of line |
End | Move cursor to end of line |
Create chi.json
in the same folder from where you are running the editor. Global config is not supported yet.
Following structure (all options with defaults):
{
"editorOptions": {
"lineNumbers": false
}
}
Option | Description | Type |
---|---|---|
editorOptions.lineNumbers | Show/hide line numbers | Boolean |
Run yarn xd
to open the sample file. Tail debug.log
and write to stderr
for development debugging.
Please feel free to suggest issues and chime in
FAQs
CLI editor made for fun
We found that chi-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.