{"name":"@ts-graphviz/common","version":"0.0.0-pr956-20240225163634","description":"Graphviz Types and Utilities","keywords":["graphviz","dot"],"homepage":"https://github.com/ts-graphviz/ts-graphviz#readme","bugs":{"url":"https://github.com/ts-graphviz/ts-graphviz/issues"},"repository":{"type":"git","url":"git+https://github.com/ts-graphviz/ts-graphviz.git","directory":"packages/common"},"funding":[{"type":"github","url":"https://github.com/sponsors/ts-graphviz"},{"type":"opencollective","url":"https://opencollective.com/ts-graphviz"}],"license":"MIT","author":{"name":"Yuki Yamazaki","email":"yuki@kamiazya.tech"},"type":"module","exports":{".":{"require":{"types":"./lib/common.d.ts","default":"./lib/common.cjs"},"import":{"types":"./lib/common.d.ts","default":"./lib/common.js"}},"./package.json":"./package.json"},"main":"lib/common.cjs","module":"lib/common.js","types":"lib/common.d.ts","devDependencies":{"typescript":"^5.3.3","vite":"^5.1.3","vite-plugin-dts":"^3.7.2"},"engines":{"node":">=18"},"publishConfig":{"access":"public","provenance":true},"scripts":{"build":"vite build"},"readme":"# @ts-graphviz/common\n\nThis package contains type information, constants, and utility functions related to the DOT language attributes, attribute values, and models for ts-graphviz.\n\nIt is part of the ts-graphviz library, which is split into modular packages to improve maintainability, flexibility, and ease of use.\n\n## Features\n\n- Type definitions for DOT language elements, such as attributes and attribute values\n- Constants representing common attribute names and values\n- Utility functions for working with DOT language elements\n\n## Usage\n\nImport the necessary types, constants, or utility functions from the `@ts-graphviz/common` package:\n\n```ts\nimport { NodeAttributesObject, EdgeAttributesObject } from '@ts-graphviz/common';\n```\n\nUse the imported items in your project to work with the DOT language elements:\n\n\n```ts\nconst nodeAttr: NodeAttributesObject = {\n  label: 'Node label',\n  shape: 'ellipse',\n};\n\nconst edgeAttr: EdgeAttributesObject = {\n  label: 'Edge label',\n  color: 'red',\n};\n```\n\nFor more examples and usage details, please refer to the ts-graphviz documentation.\n\n\n## Contributing\n\nContributions to the ts-graphviz project are welcome.\n\nPlease refer to the main ts-graphviz repository for guidelines on how to contribute.\n\n## License\n\nThis package is released under the MIT License.\n","readmeFilename":"README.md","_id":"@ts-graphviz/common@0.0.0-pr956-20240225163634","_integrity":"sha512-0DuR05Mq4lpprHAuK46nmoxtlBjnDJKSOiIV68bYxQKH6a0Ru7cHRX8yVc7rxDSXjNQsM+V9xitYH3zyFZcK2Q==","_resolved":"/tmp/1ff0e64f3be78c0437cca0ad171594c3/ts-graphviz-common-0.0.0-pr956-20240225163634.tgz","_from":"file:ts-graphviz-common-0.0.0-pr956-20240225163634.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-0DuR05Mq4lpprHAuK46nmoxtlBjnDJKSOiIV68bYxQKH6a0Ru7cHRX8yVc7rxDSXjNQsM+V9xitYH3zyFZcK2Q==","shasum":"650879af86d1c2d047f3a02a6b417fad624d0a21","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/common/download/@ts-graphviz/common-0.0.0-pr956-20240225163634.tgz","fileCount":7,"unpackedSize":227308,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcommon@0.0.0-pr956-20240225163634","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUsobxEi0h0SkxuqTx6UWO+1wzM2z6s0njlzonEeMwhwIgJWnWwI9n7kLQ1P4CDe/ROGLObsQ0s4W2mif9lyihM+Y="}],"size":45924,"noattachment":false,"key":"/@ts-graphviz/common/-/@ts-graphviz/common-0.0.0-pr956-20240225163634.tgz"},"_npmUser":{"name":"kamiazya","email":"yuki@kamiazya.tech"},"directories":{},"maintainers":[{"name":"kamiazya","email":"yuki@kamiazya.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common_0.0.0-pr956-20240225163634_1708879005664_0.34362566948051376"},"_hasShrinkwrap":false,"publish_time":1708879005844,"_cnpm_publish_time":1708879005844,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.7","next":"3.0.7-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}