Atom
Atom is a free and open-source text editor for macOS, Windows, and Linux. Built with HTML, JavaScript, CSS, and Node.js integration, it runs on the Electron framework. It features cross-platform editing, a built-in package manager, and deep integration with Git and GitHub. Protocol Launcher allows you to generate deep links to open resources in Atom.
INFO
Atom and all its repositories were archived on December 15, 2022.
Usage
There are two ways to use this library:
- On-Demand import from subpaths enables tree-shaking and keeps bundles small.
- Full Import from the root package is convenient but includes all app modules.
Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.
Select Installation Method
On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.
Open Atom
ts
import { open } from 'protocol-launcher/atom'
const url = open()Open File
ts
import { openFile } from 'protocol-launcher/atom'
const url = openFile({
path: '/etc/hosts',
line: 1,
column: 2,
})