{"_id":"@128technology/netconfetti","_rev":"5-dafbf2a3bb0536353a987d487215cd86","name":"@128technology/netconfetti","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@128technology/netconfetti","version":"1.0.0","description":"A Javascript NetConf client","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"test":"mocha --require ts-node/register 'src/**/__tests__/*.ts'","validate":"npm run lint && npm run test","build":"tsc -d","lint":"tslint --project . src/**/*.ts src/**/*-test.ts","clean":"rm -rf dist","prepublishOnly":"npm run build","format":"prettier --write \"src/**/*.ts\""},"files":["dist"],"author":{"name":"128 Technology"},"license":"MIT","devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/uuid":"^3.4.3","@types/xml2js":"^0.4.2","chai":"^4.1.2","mocha":"^5.1.1","prettier":"1.12.1","ts-node":"^3.3.0","tslint":"^5.7.0","tslint-config-prettier":"^1.6.0","typescript":"^2.5.2"},"dependencies":{"@types/ssh2":"^0.5.35","ssh2":"^0.5.5","uuid":"^3.1.0","xml2js":"^0.4.19"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"gitHead":"4a3b0c6df3978c25908f26a01d73d531be78f4fe","_id":"@128technology/netconfetti@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"128dbuchanan","email":"dbuchanan@128technology.com"},"dist":{"integrity":"sha512-zh+O0/R8BCQSae/hTNuGvLFjKOkEPa3HkM8Xd0nuDzzehidYvTRb3WRRqBX6cTpyL3JkxJHJD4UYfBZutRxo9g==","shasum":"7ee1b3797c0ad0d8bd3c09f60b4578d6b878efcd","tarball":"https://registry.npmjs.org/@128technology/netconfetti/-/netconfetti-1.0.0.tgz","fileCount":38,"unpackedSize":33298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+fzDCRA9TVsSAnZWagAAwswP/jZBOgUQUW17w0jdxmc1\nFk1GMT3i3aleIMxOEtcIiB9YCWWGjdeZQzOedCyLANLmojej9AZCRxxJd7OJ\nyWehpZC1yWKUeHaF/TN3ZSHSYZqUDkC9hUFn9c+RB4KQnA6TUGA205Ca3Ztu\nidK3XyIZGHKr0p5RinvzAPmGWR6nX48cqN6OzmUjhh2SvkYMJQGPNUOpk6cr\nHzehJZd9G8lTofvjn4yedKmo1zPRiYux1DBkk68kMwBa/ti6IWw1gtKP8nSG\nn/CF8Yarb+W17/97dq2dr1WhrbpaOpI+WpfXdgA1JXPKTNgStR3vKTv8SUe4\n1yj2E3jzXYHmk56Mgps6sSigDa8MvNPyuyTOdCWYmtJ2THMYChgZOl5kFxQs\nNl5vRFD0yBRknWsrF1xEFZZmE3vpIi94ZDJUhIo/sHpr4so6Dt6lPZEdC1v8\nuAzB2LsTBo+PxCrlMYSdBeKgyKUdOgygWtsi1ANghTNx9P9+BrUdi4ltScgn\nGiIwXgXMd4d7RUG3RRFJjnLBNoUWlTcZg0tY1dWv6uEElkCnZvwihL16d3Cf\nqmD3dsxy4JD72cODBXzTocSmIY99PiLh2pR+IS5KofLMqh83HIxZ5qjQMmic\nC/Nf7t+JvyqMtvEONOAqm53DkAvGpUiH82GjZrjongmQfCyUU4QqTVRM7xcM\nW21j\r\n=ujxa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHzKrctn8C/VHrHm4S5mkmnkVJluO1MpeDqIiSnSvkjAIhANG4RMACWwgTBK0l/B4EcFhph9u1ZaaG2JRdSHUcLzam"}]},"maintainers":[{"name":"128dbuchanan","email":"dbuchanan@128technology.com"},{"name":"128techadmin","email":"opensource@128technology.com"},{"name":"cmain","email":"cmain@128technology.com"},{"name":"gregermendle","email":"gjordan@128technology.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/netconfetti_1.0.0_1526332611228_0.7612064043625151"},"_hasShrinkwrap":false},"1.0.2":{"name":"@128technology/netconfetti","version":"1.0.2","description":"A Javascript NetConf client","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"test":"mocha --require ts-node/register 'src/**/__tests__/*.ts'","validate":"npm run lint && npm run test","build":"tsc -d","lint":"tslint --project . src/**/*.ts src/**/*-test.ts","clean":"rm -rf dist","prepublishOnly":"npm run build","format":"prettier --write \"src/**/*.ts\""},"repository":{"type":"git","url":"git+ssh://git@github.com/128technology/netconfetti.git"},"files":["dist"],"author":{"name":"128 Technology"},"license":"MIT","devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/uuid":"^3.4.3","@types/xml2js":"^0.4.2","chai":"^4.1.2","mocha":"^5.1.1","prettier":"1.12.1","ts-node":"^3.3.0","tslint":"^5.7.0","tslint-config-prettier":"^1.6.0","typescript":"^2.5.2"},"dependencies":{"@types/ssh2":"^0.5.35","ssh2":"^0.5.5","uuid":"^3.1.0","xml2js":"^0.4.19"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"gitHead":"dceb9dfe35d5dfb2cd2cd1226e3110335c46b9d3","bugs":{"url":"https://github.com/128technology/netconfetti/issues"},"homepage":"https://github.com/128technology/netconfetti#readme","_id":"@128technology/netconfetti@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"128techadmin","email":"opensource@128technology.com"},"dist":{"integrity":"sha512-NgKtvOGpncewvZXyw63NokAnjMHYa9hbmbpshd/zu2CQxyTBkhxoa9iqN/+kbzyKaXdi9DwI90LFtAE+JYOgLw==","shasum":"4834c67e9b62ea677ec4da623298e16629760c64","tarball":"https://registry.npmjs.org/@128technology/netconfetti/-/netconfetti-1.0.2.tgz","fileCount":38,"unpackedSize":35231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgCa6CRA9TVsSAnZWagAAKrUP/Ay9wa4hKe6rYaNFsaBM\n7KhyrrpuvbFJLB6ko7SPUKA3zlRmqUYSZBNwJvhmFqPZBcNN0mDou5BOazu1\ns5MOjQFrIGfGhkV+ZIbX/40wfBDIO2WvRSH+orDiH3cW0I65Dq2Zm4u6L0Pb\n9FivOpWJ1FIbriwknvuWv+u9wwC114p1Gz4TX3sO5dAxYlrDts+Ya4iIz4bE\nlmNPXU3wpMCVaX8mBFoPWK0urF8rkFGjV219lZ1ZbPOPR+zRRV1VE2AwGs5L\ni+fDicqW0TK6ukXu4qv8+NQ8QxFb79THK9HZySKJZzM6COU0aWNk5EiYqiFE\n20XV79Q8aTWIKBc0Fp72zv5fni4vkTFNiFrbFKLRViExIB9m2ca48t3DvWm6\n90SsCF4B6BRfN6r+npjshWxxpgsw6OjIPYKfFaIJRAKstWiGprINC+9vkGmi\nxT3eQoTPy2ETs86P4jMsJ6ZAksse3MIWVQjsXOfG8QPp8aPRQk/09WhxP+x5\nH8FqgJ4+aZ8fiJW0KEY0V9FhpvF1A74RfHDtrLY8I00iffZwy4gjzjGJomjm\nbI2vhGUBCctwLfzA4Bq4FQs+d0tDy25KG+tSdQAKmqNBiTkmrMA88IPiWGT8\ng08pOD8bnb89Vgxh8aNW8oi9MGa1lyGUTKuirGKOXMeezHH9NmWZtaqUauTj\nSzZ2\r\n=B8Lc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbtq9gcQcGXhbSV8tCgKeYemPJ+hgaujPIW4EXZrMzygIgNuSrAGpP3yBV0ZuuseY7i7Rn5Nfq3+dclfLc1fw55bo="}]},"maintainers":[{"email":"dbuchanan@128technology.com","name":"128dbuchanan"},{"email":"opensource@128technology.com","name":"128techadmin"},{"email":"cmain@128technology.com","name":"cmain"},{"email":"gjordan@128technology.com","name":"gregermendle"},{"email":"thedillonb@gmail.com","name":"thedillonb"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/netconfetti_1.0.2_1535125177637_0.5165576362385118"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-14T21:16:51.021Z","1.0.0":"2018-05-14T21:16:51.369Z","modified":"2022-04-04T10:31:12.111Z","1.0.2":"2018-08-24T15:39:37.735Z"},"maintainers":[{"email":"benbeshel@gmail.com","name":"benbeshel"},{"email":"thedillonb@gmail.com","name":"thedillonb"},{"email":"cmain@128technology.com","name":"cmain"},{"email":"dbuchanan@128technology.com","name":"128dbuchanan"},{"email":"opensource@128technology.com","name":"128techadmin"}],"description":"A Javascript NetConf client","author":{"name":"128 Technology"},"license":"MIT","readme":"# Netconfetti 🎉  [![Build Status](https://travis-ci.org/128technology/netconfetti.svg?branch=master)](https://travis-ci.org/128technology/netconfetti) [![npm (scoped)](https://img.shields.io/npm/v/@128technology/netconfetti.svg)](https://www.npmjs.com/package/@128technology/netconfetti)\n\n_It's always a party with NetConf_\n\nNetconfetti is a Javascript client for the NetConf protocol.\n\n## Example\n\n```javascript\nconst netconfetti = require('@128technology/netconfetti');\n\n// Beacuse Netconfetti is promise based, it's extremely easy to utilize it\n// in a async/await fashion.\nasync function main() {\n  const client = new netconfetti.Client();\n\n  await client.connect({\n    host: '127.0.0.1',\n    username: 'admin',\n    password: 'admin',\n    port: 22\n  });\n\n  // The RPC method can also take a string\n  const configResponse = await client.rpc('get-config');\n  console.log(configResponse.data)\n\n  // The RPC method can also take an object that will get converted into\n  // XML via xml2js.Builder.\n  const doThingsResponse = await client.rpc({\n    'do-things': {\n      $: {\n        xmlns: 'http://special-namespace-here-if-required'\n      },\n      'param1': 'hello',\n      'param2': 'goodbye'\n    }\n  });\n\n  console.log(doThingsResponse.data);\n}\n\nmain().then(\n  () => process.exit(0),\n  err => {\n    console.error(err);\n    process.exit(1);\n  });\n\n```","readmeFilename":"readme.md","homepage":"https://github.com/128technology/netconfetti#readme","repository":{"type":"git","url":"git+ssh://git@github.com/128technology/netconfetti.git"},"bugs":{"url":"https://github.com/128technology/netconfetti/issues"}}