{"name":"@ts-graphviz/common","version":"0.0.0-next-20240311073733","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-20240311073733","_integrity":"sha512-TZAMd7bFsHxa0TTSWluo9YRdhCC31POSg3cfBXyTZm4bkMiqnPcRHjE5Ctfzq+SDWhChv6otXbkZi01rX3F6nQ==","_resolved":"/tmp/97b9ae9a1b1326a2336740d675dcf7e3/ts-graphviz-common-0.0.0-next-20240311073733.tgz","_from":"file:ts-graphviz-common-0.0.0-next-20240311073733.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-TZAMd7bFsHxa0TTSWluo9YRdhCC31POSg3cfBXyTZm4bkMiqnPcRHjE5Ctfzq+SDWhChv6otXbkZi01rX3F6nQ==","shasum":"45f8a86b27bd8c03bec6c5cdd5f276a4955049b1","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/common/download/@ts-graphviz/common-0.0.0-next-20240311073733.tgz","fileCount":7,"unpackedSize":229422,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcommon@0.0.0-next-20240311073733","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+nqcfgpHu06/4dZNUBlyN5ilDKOlIyNejhLNijpaU/AiAEIi3pHYgMO0E9kB40K/7TuXY9DQsg/Iu8dQG6V5d+rg=="}],"size":46516,"noattachment":false,"key":"/@ts-graphviz/common/-/@ts-graphviz/common-0.0.0-next-20240311073733.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-20240311073733_1710142665216_0.8467954723517586"},"_hasShrinkwrap":false,"publish_time":1710142665394,"_cnpm_publish_time":1710142665394,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.7","next":"3.0.7-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}