The following two approaches works for me:
Using require:
/**
* Install package via
* $ bower install lodash --save
* Run:
* $ node test.js # after TypeScript compilation
*/
// test.ts file
/// <reference path="typings/lodash/lodash.d.ts" />
import _ = require('./bower_components/lodash/lodash.js');
console.log(_.chunk(['a', 'b', 'c', 'd'], 2));
ES6 import:
/**
* Install package via
* $ tsd install lodash --save # to download definition file
* $ npm install lodash --save
*
* Run:
* $ node test.js # after TypeScript compilation
*/
// test.ts file
/// <reference path="typings/lodash/lodash.d.ts" />
import * as _ from 'lodash';
console.log(_.chunk(['a', 'b', 'c', 'd'], 2));
// → [['a', 'b'], ['c', 'd']]
Note: Path mappings based module resolution planned for TypeScript 1.8 (https://github.com/Microsoft/TypeScript/issues/5039)