Skip to content

spacedock-io/searchnod.es-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npmco.de-search

Usage

POST /search?q=<search-term>&from=<from>&size=<size>

size and from are optional.

Example response

{
  "hits": {
    "total": 228,
    "hits": [
      {
        "package": "npm",
        "filename": "lib/faq.js",
        "author": "othiym23",
        "score": 1.2665461,
        "content": [
          "faq.usage = \"npm faq\"\n\nvar npm = require(\"./npm.js\")\n\nfunction faq (args, cb) { npm.commands.help([\"faq\"], cb) }"
        ]
      },
      {
        "package": "npm",
        "filename": "lib/get.js",
        "author": "othiym23",
        "score": 1.1688331,
        "content": [
          "module.exports = get\n\nget.usage = \"npm get <key> <value> (See `npm config`)\"\n\nvar npm = require(\"./npm.js\")\n\nget.completion = npm.commands.config.completion",
          "get.completion = npm.commands.config.completion\n\nfunction get (args, cb) {\n  npm.commands.config([\"get\"].concat(args), cb)"
        ]
      }
    ]
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published