{
  "name": "tiny-cookie",
  "description": "A tiny cookie manipulation plugin",
  "version": "0.5.3",
  "author": {
    "name": "Alex Chao",
    "email": "alexchao1990@gmail.com"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/Alex1990/tiny-cookie.git"
  },
  "bugs": {
    "url": "https://github.com/Alex1990/tiny-cookie/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/Alex1990/tiny-cookie/blob/master/LICENSE"
    }
  ],
  "dependencies": {},
  "devDependencies": {
    "gulp": "^3.8.11",
    "gulp-jshint": "^1.10.0",
    "gulp-load-plugins": "^0.10.0",
    "gulp-rename": "^1.2.2",
    "gulp-uglify": "^1.2.0"
  },
  "keywords": [
    "cookie"
  ]
}

{
  "name": "tiny-cookie",
  "description": "A tiny cookie manipulation plugin",
  "main": "tiny-cookie.js",
  "version": "0.5.3",
  "author": {
    "name": "Alex Chao",
    "email": "alexchao1990@gmail.com"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/Alex1990/tiny-cookie.git"
  },
  "bugs": {
    "url": "https://github.com/Alex1990/tiny-cookie/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/Alex1990/tiny-cookie/blob/master/LICENSE"
    }
  ],
  "dependencies": {},
  "devDependencies": {
    "gulp": "^3.8.11",
    "gulp-jshint": "^1.10.0",
    "gulp-load-plugins": "^0.10.0",
    "gulp-rename": "^1.2.2",
    "gulp-uglify": "^1.2.0"
  },
  "keywords": [
    "cookie"
  ]
}

Use `main` property for right npm module resolve
Use `main` property for right npm module resolve

Otherwise:
Error: Cannot find module 'tiny-cookie' from %my_dir%