{"name":"@ts-graphviz/common","version":"0.0.0-next-20240315143845","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.3"},"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-next-20240315143845","_integrity":"sha512-0Y0iGsI7dNbtmWlyzfDAvLX6BvXK6ui5bPhoUKs9lBcC7OROH+8WqApngc9LhzJkUlN/qxR0HQdteqM5bGTPYw==","_resolved":"/tmp/f419fc954a036a3ce8408492bb0d6107/ts-graphviz-common-0.0.0-next-20240315143845.tgz","_from":"file:ts-graphviz-common-0.0.0-next-20240315143845.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-0Y0iGsI7dNbtmWlyzfDAvLX6BvXK6ui5bPhoUKs9lBcC7OROH+8WqApngc9LhzJkUlN/qxR0HQdteqM5bGTPYw==","shasum":"3d46ebfa2e74c60a1cead243f4c34c80a888e116","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/common/download/@ts-graphviz/common-0.0.0-next-20240315143845.tgz","fileCount":7,"unpackedSize":229999,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcommon@0.0.0-next-20240315143845","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtd+cQPKCbwpCwyCS89EmxxTgMIlo6kpl1WSUTuTxukAIgbUY5RMi5YhVL0lKZTX7xGZpYdDOR1CeGFiKGU6E5TRI="}],"size":46651,"noattachment":false,"key":"/@ts-graphviz/common/-/@ts-graphviz/common-0.0.0-next-20240315143845.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-next-20240315143845_1710513536004_0.5302735269940495"},"_hasShrinkwrap":false,"publish_time":1710513536175,"_cnpm_publish_time":1710513536175,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.7","next":"3.0.7-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}