Wildhoney / RedisCache

Simple Node.js based Redis cache for storing large collections of data.
16 stars 7 forks source link

add index.js file #2

Closed grahamb closed 10 years ago

grahamb commented 10 years ago

The project's package.json specifies index.js as its entry-point, but there is no index.js in the project. This means that the package can't actually be require'd by node.

Fixes #1

Wildhoney commented 10 years ago

I think it's better to reference the dist file directly in the package.json. When I was throwing together this module into an npm module, I must have skipped the part where it asks for the main. Oops!

Thanks for raising the issue! :+1: