npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

atropa-ide

v0.2.2-2

Published

An ide for web development using ckeditor and ace.

Downloads

37

Readme

atropa-ide

An ide for web development using ckeditor and ace.

Installation

This project depends on node. If you don't have node you can find it at http://nodejs.org.

Once node is installed on your system you can get this module through npm

npm install atropa-ide

Usage

Startup

atropa-ide may be started from the command line. Go into the .bin folder inside the node_modules folder where you installed this package and run atropa-ide 5555. The server will start and give you the web address to the main page. In this case it will be http://localhost:5555 Use whatever port you want to when starting the server or leave it unspecified and a default port will be chosen.

The atropa-ide may also be launched from scripts.

var ide = require('atropa-ide');
var path = require('path');
var port = 9777;
var serverRoot = path.resolve('./node_modules/atropa-ide/');
// the port and serverRoot arguments are optional.
ide.start(port, serverRoot);
console.log('open http://localhost:' +
    port + ' in your web browser to get started.');

Load Files by Dragging and Dropping

Both the ckeditor and ace editor support loading files by dropping them into the editable area. They also support saving the edited content to local files. Click on the save button and your browser should give you the option to save the file to disk.

Options

Ace

Config

All options may be configured through the settings menu in the editor. The default settings are restored when the page is reloaded. To automatically set settings on page load, specify the setting in the query string of the url. For example to set the mode, theme, font size, and show invisibles on page load do

http://localhost:5555/ace editor?setMode=ace/mode/html&setTheme=ace/theme/github&setFontSize=24px&setShowInvisibles=true

All supported options are the same as their names in the settings menu. For items set with checkboxes, give their values as either true or false. To set the mode, find the name of the mode you like in the dropdown box and prefix it with ace/mode/ in the url. See the example above which sets the mode to html and the theme to github.

Autoload From Files or URLs

To automatically load a file into the editor on page load set the loadFile parameter of the query string to the path of the file you want loaded.

http://localhost:5555/ace editor?loadFile=C:\Users\kastor\Desktop\aFile.html
http://localhost:5555/ace editor?loadFile=http://www.google.com/