{"_id":"@automacao.info/ai-blocklink","_rev":"1-f31a7167f665cbc18b0f2acd9b04f5a8","name":"@automacao.info/ai-blocklink","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@automacao.info/ai-blocklink","version":"1.0.0","description":"Webcomponent ai-blocklink following open-wc recommendations. A simple and super lightweight web component to create block links.","author":{"name":"automacao.info"},"license":"MIT","main":"index.js","module":"index.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/automacao-info/ai-blocklink.git"},"scripts":{"start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch"},"dependencies":{"@github/time-elements":"^3.1.1","lit-html":"^1.1.2"},"devDependencies":{"es-dev-server":"^1.23.0"},"bugs":{"url":"https://github.com/automacao-info/ai-blocklink/issues"},"homepage":"https://github.com/automacao-info/ai-blocklink#readme","_id":"@automacao.info/ai-blocklink@1.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-yxAH/nBUKFlCgoQgvP/RClgv/ZUkKvIzKZvbGvDt5PEdRpZQ8TgSf/6lTTWWbMaoTOZrO5NCcfxy5aWw4spSLg==","shasum":"57dcd35a7cbfa30c1fbeb7386fbf2f54bc181194","tarball":"https://registry.npmjs.org/@automacao.info/ai-blocklink/-/ai-blocklink-1.0.0.tgz","fileCount":9,"unpackedSize":10497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCiM7CRA9TVsSAnZWagAAHOIP/Rau/PzdJ7DJyE6wsGtw\n1usGk+2PgEBXy5XOamj+PwISuIMBKJzj5Rf72IrvKjOuni9s6ZKXqCOH4deh\nrfe5wPzeOX15PEdOgkgPKMEzNFDge4/W1jZ29V5av+C4yVIRVPStFAZBChdZ\nDV4TFgyHj4zRWmc4BAZHN6rCMXKVz207EXwpokJMqm0uR+8/t5hbgG09rpjt\nJlfVK2C0Ng+WZzsmK63TlDZNlR6Rg6Llg59a2s5VMVG2HUb/Kdvg/fTlAGID\nSlrwT6ImFJ5Dk0r9FrvgCiDaJwntTLZw7+8HzxCc2QSN2JnOPWj29d8gYSil\nOmspOl1hYvVGptj/r/tC4ETLkOFJu89CRk4tfnKsl0TBtcqdzKxFPqiIj98w\n0pRkd6dStvX3ECNG8PdYdvVUPMG8wH4FIv2nMmngcbcNs97xEVqDK8Q0O/6v\n3mlA1izpY56QTKWxj9Iost46WNdgVJwa52jIt50dL0GynCS0Jh69l8dCuRzZ\n/ePfC35UoRokgGtCD7K3WpepnwTAKPzagrsrKutIMMQBJvsBsy2dSfEx3oR7\niUNtIyiKrcGRPcZ/QYwlnVXj6Uvb3372Pa5WpPHlEELW9cA4HOJAhxq4oFdC\nKgYrYCFo9WzG0iJqbJVCWZoqZtIGXX6800HPB75c4Cq6lNFvyB+zZRd8d7xr\nbEEU\r\n=0WW/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZ6v/FOCuA13bv7PbjOXOmWfGGNMCnPvy9P0bPmyZ1IAIhAINHlGKKlzkNDFvq6oMIeyv5LJ2bmDBPv4hUuJDelMaL"}]},"maintainers":[{"name":"admin-a-info","email":"admin@automacao.info"}],"_npmUser":{"name":"admin-a-info","email":"admin@automacao.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ai-blocklink_1.0.0_1594499899306_0.38410928365620434"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-11T20:38:19.042Z","1.0.0":"2020-07-11T20:38:19.452Z","modified":"2022-04-04T16:37:36.238Z"},"maintainers":[{"name":"admin-a-info","email":"admin@automacao.info"}],"description":"Webcomponent ai-blocklink following open-wc recommendations. A simple and super lightweight web component to create block links.","homepage":"https://github.com/automacao-info/ai-blocklink#readme","repository":{"type":"git","url":"git+https://github.com/automacao-info/ai-blocklink.git"},"author":{"name":"automacao.info"},"bugs":{"url":"https://github.com/automacao-info/ai-blocklink/issues"},"license":"MIT","readme":"# \\<ai-blocklink>\n\nA simple and super lightweight web component to create block links.\n\n> This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.\n\n## Directory structure \n\n```text\n├── LICENSE\n├── README.md\n├── ai-blocklink.js\n├── custom-elements.json\n├── demo\n│   ├── card.css\n│   └── index.html\n├── index.js\n├── package.json\n└── src\n    └── AiBlockLink.js\n```\n\n## Installation\n\n```bash\nnpm i @automacao.info/ai-blocklink\n```\n\n## Usage\n\nFile `package.json`\n\n```json\n\"dependencies\": {\n  \"@automacao.info/ai-blocklink\": \"^1.0.0\"\n}\n```\n\nFile `test.html`\n\n```html\n<link href=\"./demo/card.css\" rel=\"stylesheet\" />\n<script type=\"module\">\n  import '@automacao.info/ai-blocklink';\n</script>\n<!-- Example Two blocks, one inside other -->\n<ai-blocklink class=\"card\" main-link=\"h2 a\">\n  <section>\n    <p class=\"date\">\n      <a href=\"#date\">\n        <!--relative-time datetime=\"2020-05-10T16:30:00-08:00\"></relative-time -->\n        <time-ago datetime=\"2020-05-10T16:30:00-08:00\"></time-ago>\n      </a>\n    </p>\n    <h2><a href=\"#title\">&ltai-blocklink&gt Demo</a></h2>\n  </section>\n  <ai-blocklink class=\"author-name\">\n    <img src=\"https://via.placeholder.com/36.png/00F/888?text=JP\">\n    <a href=\"#author\">Author Name here</a>\n  </ai-blocklink>\n  <footer class=\"tags\">\n    <a class=\"category\" href=\"#category_one\">Category One</a>\n    <a class=\"tag\" href=\"#tag_one\">Tag One</a>\n    <a class=\"tag\" href=\"#tag_two\">Tag Two</a>\n  </footer>\n</ai-blocklink>\n```\n\n## Tooling configs\n\nFor most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.\n\nIf you customize the configuration a lot, you can consider moving them to individual files.\n\n## Local Demo with `es-dev-server`\n\n```bash\nnpm install\nnpm start\n```\n\nTo run a local development server that serves the basic demo located in `demo/index.html`\n","readmeFilename":"README.md"}