Catalog npm
Back to packageRELEASE DETAILS

1.0.0

npm

4d-pocket

HTTP リクエストを雑に受け取るツール

Published20 Jan 2021
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

4d-pocket

HTTP リクエストを雑に受け取るツール

任意のパスに対する,任意のリクエストメソッドの情報を出力します

screenshot

Usage

$ npx 4d-pocket -h
Usage: 4d-pocket [options]

Options:
  -V, --version      output the version number
  -p, --port [port]  port (default: "3000")
  -h, --help         display help for command
$ npx 4d-pocket
21:03:44 Server listening at http://127.0.0.1:3000
21:03:49 [GET] /test/path {"host":"127.0.0.1:3000","user-agent":"curl/7.64.1","accept":"*/*"} null
21:04:05 [POST] /api/test/path {"host":"127.0.0.1:3000","user-agent":"curl/7.64.1","accept":"*/*","content-type":"application/json","content-length":"15"} {"key":"value"}
21:04:12 [PUT] /test/path {"host":"127.0.0.1:3000","user-agent":"curl/7.64.1","accept":"*/*"} null
21:04:16 [DELETE] /test/path {"host":"127.0.0.1:3000","user-agent":"curl/7.64.1","accept":"*/*"} null
21:04:21 [HEAD] /test/path {"host":"127.0.0.1:3000","user-agent":"curl/7.64.1","accept":"*/*"} null
21:04:41 [PATCH] /test/path {"host":"127.0.0.1:3000","user-agent":"curl/7.64.1","accept":"*/*"} null
$ curl http://127.0.0.1:3000/test/path
$ curl -X POST -H 'Content-Type:application/json' http://127.0.0.1:3000/api/test/path -d '{"key":"value"}'
$ curl http://127.0.0.1:3000/test/path -X PUT
$ curl http://127.0.0.1:3000/test/path -X DELETE
$ curl http://127.0.0.1:3000/test/path -X HEAD
$ curl http://127.0.0.1:3000/test/path -X PATCH

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
colors
Environment
{
  "local_name": "colors",
  "alias": false,
  "peer_metadata": null
}
^1.4.0runtime
fastify
Environment
{
  "local_name": "fastify",
  "alias": false,
  "peer_metadata": null
}
^3.10.1runtime
log4js
Environment
{
  "local_name": "log4js",
  "alias": false,
  "peer_metadata": null
}
^6.3.0runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^14.14.22development
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^9.1.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.1.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-5e4vkVPJh2UqmfT1ij+NxgpXdWlD2zpv5H+wHn4XZbI9Ym/4QMzqBJ1R+akOjT8p3M0zclqs+cMRvl09VTpUAA==",
  "shasum": "8c220240f828ea0adf2c6733e455b04305369787",
  "tarball": "https://registry.npmjs.org/4d-pocket/-/4d-pocket-1.0.0.tgz",
  "fileCount": 6,
  "unpackedSize": 146053,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCCwGCRA9TVsSAnZWagAAfksP+wdRmGx+QKYqjop7mgqZ\nKnYEyj0g7T0A7EzivRJE2H0xnXK3NXswTqVHOIGRHGNESpclReyOGKfKXcq0\n3aFs2fHfES9Akswew0Kn0bjzWRDmh/f5j4cRlU+C6oPho0lydangktJMEnAq\nk+8I+cdNI2Gki5zSGIfnQDr58ES9JAQ7n0Aoho+xfFrdf/GbYNOg+ZnJOk/w\nTPfuz1RwChSbwEL1s1OLW9wHQIPXCRkLU+zkvJYvKH6VJ1a6OGTz+4RuJPh3\nEUhGLQ2pYqYVFk1i1pD/6FlsEBB/oHxhp03d77XpsVZ2y5oDhKqK++9Y5lwa\nM/9SDZ/27dbg7X8jbvLM+u83K/+Lxc5ZFn1+f8ctS7uDTPSrrJHzdb/CDOY/\nD669RxnmWQGUByNDNctz6w5zNScU8dJtcV72wH70WgJ1X5towflPMdzUy1qP\ngdz7JYCWUyZHRvfT5q1VYOTl8vxf798nZc8IItDBB6bBiyt1SG5ekNYJdxTO\nyEVHjBogQ2++nfzKv4n5jqfa4c81w2gHgiwQXfQNgtQ7/2vSY6hfufqCYKni\n8C84tD1DyZbRXHV9gsdZI42RZWIzrwlfSQ68xLghdpEsYBGo3D78R5VDj5CE\n+R4NuB9jfVuTCA2+BIJRQJGbx12VByA2QAqiGPaVXGqzRZrPyCi5js7w8eUc\nmKGv\r\n=rlBe\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQC1uSvQgHRwfSNB+qoHvD0G+wuWHga44zbnmXjAFexpLgIhANxkhpFWh+I2HmUovWXUPrkSwtm05vHTJiqiRLeHIbBL"
    }
  ]
}

Repository

PENDING
kadoshita/4d-pocket

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:73ebd210f1c1ab9c579e6a44c67807cb967fafe799d670bfe7d6a255f85ff66e

Other collected versions

1.1.022 JanView all collected versions →