Socket
Socket
Sign inDemoInstall

elfinder

Package Overview
Dependencies
16
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    elfinder

Command line app for searching in HTML files for elements that match a CSS selector


Version published
Weekly downloads
30
Maintainers
1
Install size
1.76 MB
Created
Weekly downloads
 

Readme

Source

Element Finder

Build Status

Find in Files with CSS selectors.

Element Finder is a command line app for recursively searching through a directory and finding HTML files which contain elements matching a given CSS selector.

Example usage

Search for elements with a class of awesome-list:

elfinder -s .awesome-list

Search for elements with a class of awesome-list which are descendants of an element with a class of colours:

elfinder -s ".colours .awesome-list"

Search for elements with a class of awesome-list in files with an extension of html or shtml:

elfinder -s .awesome-list -x "html, shtml"

Search for elements matching the ul.boxes .box selector, but ignore any files in the .git, .svn or partials folders:

elfinder -s "ul.boxes .box" -i ".git, .svn, partials"
  1. Install Node JS: http://nodejs.org/#download

  2. Install elfinder globally with npm (npm comes with Node JS):

     npm install -g elfinder
    

Element Finder is a command line tool so it is best to install it globally with npm.

Atom package

There is a package for Atom which is easier to use than the command line app. More info at https://github.com/keeganstreet/atom-element-finder

Keywords

FAQs

Last updated on 04 Oct 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc