
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
atom-selected-requires
Advanced tools
Retrieve the paths of any require statements in the current selection.
Retrieve the paths of any require statements in the current selection. Originally extracted from atom-node-resolver, and syntax-aware, just like browserify.
paths = selectedRequires([editor])Given an editor, check all of the current selections and return an array of require paths. If no editor is
supplied, the currently active editor will be used.
For example, given a file like so:
const a = require('atom-selected-requires')
const b = require('@scoped/package')
const c = require('./local-file')
You could run the following:
const selectedRequires = require('atom-selected-requires')
const editor = atom.workspace.getActiveEditor()
console.log(selectedRequires(editor))
And receive an array like so in return:
[
'atom-selected-requires',
'@scoped/package',
'./local-file'
]
MIT. See LICENSE.md for details.
FAQs
Retrieve the paths of any require statements in the current selection.
The npm package atom-selected-requires receives a total of 0 weekly downloads. As such, atom-selected-requires popularity was classified as not popular.
We found that atom-selected-requires 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
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.