{"name":"@ts-graphviz/common","version":"2.1.1","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":{".":{"types":"./lib/common.d.ts","require":"./lib/common.cjs","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.2.8","vite-plugin-dts":"^3.7.3"},"engines":{"node":">=18"},"publishConfig":{"access":"public","provenance":true},"scripts":{"build":"vite build"},"_id":"@ts-graphviz/common@2.1.1","_integrity":"sha512-YGfDhLwkZk1rc9o0YoTxFEtidAZt43Yh4OBW0tRSrZxGqB9do7OqGHA/Kf5iQ7St1scTkZLEv4YRygjgFbxqmw==","_resolved":"/tmp/791b0b5d22329cdc4f3c0ce36fd3fb1e/ts-graphviz-common-2.1.1.tgz","_from":"file:ts-graphviz-common-2.1.1.tgz","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-YGfDhLwkZk1rc9o0YoTxFEtidAZt43Yh4OBW0tRSrZxGqB9do7OqGHA/Kf5iQ7St1scTkZLEv4YRygjgFbxqmw==","shasum":"35faf272fc2de2d27f8ec023f584f070183f023d","tarball":"http://registry-npm.ywwl.com/@ts-graphviz/common/download/@ts-graphviz/common-2.1.1.tgz","fileCount":7,"unpackedSize":215312,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ts-graphviz%2fcommon@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz6dDqVNOdVLHYz0fp4cL0RItE8ZgIO4jAtDrW3Vt5YQIge5dPR/X7IlXCtINWuznQikGVr9rd2kSe9R/cD527Bls="}],"size":42227,"noattachment":false,"key":"/@ts-graphviz/common/-/@ts-graphviz/common-2.1.1.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_2.1.1_1712199859081_0.12088136574919806"},"_hasShrinkwrap":false,"readme":"# @ts-graphviz/common\n\n> It is part of the ts-graphviz library, which is split into modular packages to improve maintainability, flexibility, and ease of use.\n\nThis package contains type information, constants, and utility functions related to the DOT language attributes, attribute values, and models for ts-graphviz.\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","publish_time":1712199859301,"_cnpm_publish_time":1712199859301,"dist-tags":{"develop":"0.0.0-pr956-20240225163634","latest":"3.0.7","next":"3.0.7-next-25c9dd3bd549e8cd4fd0d200c83e8a436ea579e5"}}