{"_id":"@aspiesolutions/lib-neon-graphql","name":"@aspiesolutions/lib-neon-graphql","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@aspiesolutions/lib-neon-graphql","version":"0.0.2","description":"This project was bootstrapped by [create-neon](https://www.npmjs.com/package/create-neon).","main":"index.node","public":true,"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics","install":"yarn build"},"devDependencies":{"cargo-cp-artifact":"^0.1"},"author":{},"license":"ISC","_id":"@aspiesolutions/lib-neon-graphql@0.0.2","dist":{"shasum":"eda75addded05267ad0c3353732ce0611f0d07de","integrity":"sha512-z2OwejfOhL7jwrNUOhyuQCbKbVaZIekPbsymRTIzxLWZzLZRCU2YdufnnNKd77JdK97/OOYd+GmhKzsfpdTVcg==","tarball":"https://registry.npmjs.org/@aspiesolutions/lib-neon-graphql/-/lib-neon-graphql-0.0.2.tgz","fileCount":9,"unpackedSize":18129,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEp+dnmfNJqnxgpy4OwARhOLohQ4CSyFuuTodWhdc35bAiEA0ve50cGqMxFQ+VRAkPyuqIuhso7dUev5fkGJK4l45ws="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiymsjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDfg/+Oe2zuJ3u4XAnI8Zo0q3xhiP9Tqlhh3NRxyUwUU++BUyF0g67\r\n7gn+lc0p1xfOfMd+Jn/vumySjYjvr6S2ixOMYzIeJmg1GnB/PPj5MgfKFYdj\r\nt24CmI235Onvhw282pyLSHq/ML25jkWgnIf8SRzb3xo8DqMEk5G18xe+bYGo\r\nupk47krtEPY4kbTNaGxPOWPt8mxACz8N29JoaE0bP7gH3xWQifdrqrNFMN0n\r\nm5XlpCMC15/BuaOp3wOZpxw/U28ZUfM7MHgmZyNagKhddCnLCAMBTTkDFFwh\r\nRmhbY7fv2iWDco6uRh1PvodsMkL6En3FAkk+aRfrrKRICrGqudiE8RAfmpWw\r\nqw7vNQV5yz88+b8O6xlSck/wC8A4EFN6nu6++DwmA+XkOUPt7gWd/TxY4jzh\r\nzYZOUVggintw3Vkm+fpwNXHBsWp6E5cPfZEXqMaYiXjoDen8A350g+hPigto\r\nBFX/bP3fy7HnSg1h1CKHcv5C01UaA3MjpNx8gUn2mUP48qUL9Pa7JASa4I91\r\ncuKqIE3t0/H6Oz/cYz1CHQfJ/6W18+xD4ejJL3EwD3bw1rjtH1zIwjeBQaA9\r\nwmnjfvc1jScp2UddQzQvP6W+aLfWAnJr0teG0NddlNYEuedCZSv7eHDhmxDL\r\nS5wIGZg6/7kp+fjEc/ECHAIjBafS5bSookA=\r\n=ECSv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jtmorrisbytes","email":"jthecybertinkerer@gmail.com"},"directories":{},"maintainers":[{"name":"jtmorrisbytes","email":"jthecybertinkerer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lib-neon-graphql_0.0.2_1657432867134_0.28121782069412493"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-10T06:01:07.088Z","0.0.2":"2022-07-10T06:01:07.357Z","modified":"2022-07-10T06:01:07.529Z"},"maintainers":[{"name":"jtmorrisbytes","email":"jthecybertinkerer@gmail.com"}],"description":"This project was bootstrapped by [create-neon](https://www.npmjs.com/package/create-neon).","author":{},"license":"ISC","readme":"# lib-neon\n\nThis project was bootstrapped by [create-neon](https://www.npmjs.com/package/create-neon).\n\n## Installing lib-neon\n\nInstalling lib-neon requires a [supported version of Node and Rust](https://github.com/neon-bindings/neon#platform-support).\n\nYou can install the project with npm. In the project directory, run:\n\n```sh\n$ yarn install\n```\n\nThis fully installs the project, including installing any dependencies and running the build.\n\n## Building lib-neon\n\nIf you have already installed the project and only want to run the build, run:\n\n```sh\n$ yarn run build\n```\n\nThis command uses the [cargo-cp-artifact](https://github.com/neon-bindings/cargo-cp-artifact) utility to run the Rust build and copy the built library into `./index.node`.\n\n## Exploring lib-neon\n\nAfter building lib-neon, you can explore its exports at the Node REPL:\n\n```sh\n$ yarn install\n$ node\n> require('.').hello()\n\"hello node\"\n```\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn install`\n\nInstalls the project, including running `yarn run build`.\n\n### `yarn build`\n\nBuilds the Node addon (`index.node`) from source.\n\nAdditional [`cargo build`](https://doc.rust-lang.org/cargo/commands/cargo-build.html) arguments may be passed to `yarn build` and `yarn build-*` commands. For example, to enable a [cargo feature](https://doc.rust-lang.org/cargo/reference/features.html):\n\n```\nyarn run build -- --feature=beetle\n```\n\n#### `yarn build-debug`\n\nAlias for `yarn build`.\n\n#### `yarn build-release`\n\nSame as [`yarn build`](#npm-build) but, builds the module with the [`release`](https://doc.rust-lang.org/cargo/reference/profiles.html#release) profile. Release builds will compile slower, but run faster.\n\n### `npm test`\n\nRuns the unit tests by calling `cargo test`. You can learn more about [adding tests to your Rust code](https://doc.rust-lang.org/book/ch11-01-writing-tests.html) from the [Rust book](https://doc.rust-lang.org/book/).\n\n## Project Layout\n\nThe directory structure of this project is:\n\n```\nlib-neon/\n├── Cargo.toml\n├── README.md\n├── index.node\n├── package.json\n├── src/\n|   └── lib.rs\n└── target/\n```\n\n### Cargo.toml\n\nThe Cargo [manifest file](https://doc.rust-lang.org/cargo/reference/manifest.html), which informs the `cargo` command.\n\n### README.md\n\nThis file.\n\n### index.node\n\nThe Node addon—i.e., a binary Node module—generated by building the project. This is the main module for this package, as dictated by the `\"main\"` key in `package.json`.\n\nUnder the hood, a [Node addon](https://nodejs.org/api/addons.html) is a [dynamically-linked shared object](https://en.wikipedia.org/wiki/Library_(computing)#Shared_libraries). The `\"build\"` script produces this file by copying it from within the `target/` directory, which is where the Rust build produces the shared object.\n\n### package.json\n\nThe npm [manifest file](https://docs.npmjs.com/cli/v7/configuring-npm/package-json), which informs the `npm` command.\n\n### src/\n\nThe directory tree containing the Rust source code for the project.\n\n### src/lib.rs\n\nThe Rust library's main module.\n\n### target/\n\nBinary artifacts generated by the Rust build.\n\n## Learn More\n\nTo learn more about Neon, see the [Neon documentation](https://neon-bindings.com).\n\nTo learn more about Rust, see the [Rust documentation](https://www.rust-lang.org).\n\nTo learn more about Node, see the [Node documentation](https://nodejs.org).\n","readmeFilename":"README.md"}