{"_id":"@canopy.host/lxd","name":"@canopy.host/lxd","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@canopy.host/lxd","version":"1.0.0","repository":{"type":"git","url":"git+ssh://git@github.com/canopy-host/lxd.git"},"description":"Simple nodejs LXD client","main":"src/index.js","type":"module","scripts":{"test":"mocha --bail"},"author":{"name":"Giovanni Beijl"},"license":"UNLICENSED","dependencies":{"got":"^12.4.1","sinon":"^14.0.1","ws":"^8.8.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0"},"gitHead":"b9037f32b015e9ffcccd9106b87d2bd0cbbcce34","bugs":{"url":"https://github.com/canopy-host/lxd/issues"},"homepage":"https://github.com/canopy-host/lxd#readme","_id":"@canopy.host/lxd@1.0.0","_nodeVersion":"20.3.1","_npmVersion":"9.4.0","dist":{"integrity":"sha512-zkigVyo80i1kM/yuJSlh7XNYC0gikg7zHciRdokU4wKU6VBPF8WgqmS7CbFwFvq1+aVWRFR6F/aHoFmsBXO39A==","shasum":"70778008941b67f5cc67163e578975fd1ba750e4","tarball":"https://registry.npmjs.org/@canopy.host/lxd/-/lxd-1.0.0.tgz","fileCount":22,"unpackedSize":45114,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANPVk4jOmf1eovJEPPTTVhSOSFCDjD/SyfBCzriMMImAiEAjz9jeq7luqTkqC9SM1537CGiWR8qf1le27g7HzXrhsQ="}]},"_npmUser":{"name":"canopy.host","email":"giovanni@canopy.host"},"directories":{},"maintainers":[{"name":"canopy.host","email":"giovanni@canopy.host"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lxd_1.0.0_1689946668071_0.6361959370347514"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-21T13:37:47.938Z","1.0.0":"2023-07-21T13:37:48.246Z","modified":"2023-07-21T13:37:48.504Z"},"maintainers":[{"name":"canopy.host","email":"giovanni@canopy.host"}],"description":"Simple nodejs LXD client","homepage":"https://github.com/canopy-host/lxd#readme","repository":{"type":"git","url":"git+ssh://git@github.com/canopy-host/lxd.git"},"author":{"name":"Giovanni Beijl"},"bugs":{"url":"https://github.com/canopy-host/lxd/issues"},"license":"UNLICENSED","readme":"\n# LXD client\n\nThis is a simple example LXD client implementation.\n\n### Testing\n\n##### Client communication\n\nThis client library tests by querying LXD directly, no mocks. To do this, it\nneeds some keys, which can be generated with the included `./generate_keys`\nscript. \n``` \n./generate_keys \n```\n\nAdd the corresponding certificate to your local LXD with: \n``` \nlxc config trust add ./.keys/tests.crt \n```\n\n##### LXD configuration\n\nThese tests start containers, and expect an image to exist with the `testing`\nalias: \n``` \nlxc image copy images:alpine/edge local: --alias=testing \n```\n\nThese tests also expect to be able to use a `testing` profile, that contains a\nroot disk & network interface, an example is included in this repository and\ncan be imported like so:\n```\nlxc profile create testing\ncat ./profile.yaml | lxc profile edit testing\n```\n","readmeFilename":"README.md"}