{
  "name": "dkim-signer",
  "version": "0.1.0",
  "description": "DKIM signing code extracted from mailcomposer",
  "main": "lib/dkim.js",
  "scripts": {
    "test": "nodeunit test"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/andris9/dkim-signer.git"
  },
  "keywords": [
    "DKIM",
    "SMTP",
    "mailcomposer"
  ],
  "author": {
    "name": "Andris Reinman"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/andris9/dkim-signer/issues"
  },
  "homepage": "https://github.com/andris9/dkim-signer",
  "dependencies": {
    "punycode": "~1.2.3",
    "mimelib": "~0.2.14"
  },
  "devDependencies": {
    "nodeunit": "~0.8.2"
  },
  "readme": "# DKIM Signer\n\nSign RFC822 messages with DKIM. This module is extracted from [mailcomposer](https://github.com/andris9/mailcomposer).\n\n## Usage\n\n```javascript\n// require signer function\nvar DKIMSign = require(\"dkim-signer\").DKIMSign;\n\n// generate a RFC822 message\nvar rfc822message = \"Subject: test\\r\\n\\r\\nHello world\";\n\n// setup DKIM options\nvar dkimOptions = {\n    domainName: \"müriaad-polüteism.info\",\n    keySelector: \"dkim\",\n    privateKey: require(\"fs\").readFileSync(\"./test_private.pem\")\n};\n\n// generate signature header field\nvar signature = DKIMSign(rfc822message, dkimOptions);\n\n// join signature header field with the message\nconsole.log(signature + \"\\r\\n\" + rfc822message);\n```\n\n## License\n\n**MIT**",
  "readmeFilename": "README.md",
  "_id": "dkim-signer@0.1.0",
  "dist": {
    "shasum": "e3d3dbdc8bc96bdc492e913de2c59c27b1b9a9d2"
  },
  "_from": "dkim-signer@~0.1.0",
  "_resolved": "https://registry.npmjs.org/dkim-signer/-/dkim-signer-0.1.0.tgz"
}
