0.1.1 • Published 8 years ago
site-detector v0.1.1
Introduction
- Similar to builtwith.com
- This project is an npm package forked from https://github.com/nqbao/chromesniffer (a chrome extension)
Usage
npm i --save site-detector
Command Line Interface
npm i -g site-detector
site-detector whitehouse.gov
You will get the result
{ Drupal: '7' }
ES6
import siteDetector from 'site-detector'
siteDetector('https://your-site.com/').then((app) => console.log(app))
ES5 Promise Style
var siteDetector = require('site-detector')
siteDetector('https://your-site.com/').then(function(app) {
console.log(app)
})
ES5 Callback Style
var siteDetector = require('site-detector')
siteDetector('https://your-site.com/', function(app) {
console.log(app)
})
TODO
- Clean up (remove redundant files)
- Add command line tool
- Add more tests
- Add more features (platform, script)