importless

Find stylesheet files (css and less) and strip away the @imported ones

importless

Get .less/.css files from directory without @imports for automatic stylesheet dependency tracking.

Install the module with: npm install less-detect

var importless = require('importless'),
    files = importless.detectDependencies();

Copyright (c) 2012 David Pfahler
Licensed under the MIT license.