{"bugs":{"url":"https://github.com/tw-in-js/twind/issues"},"dist":{"shasum":"ab255a81a617f7fcdb26ab5048f43e4e1cc677a3","tarball":"https://registry.npmjs.org/twind/-/twind-1.0.0-next.12.tgz","fileCount":37,"integrity":"sha512-/cesYLw61m9FeczCmJXEQHVwYNGPDtuzChQs0psL2pY/E8GSYQzHBPp99UQ7eMWakO/Mpru1wqGrF2hREpUUaQ==","signatures":[{"sig":"MEUCIBi9cpaOj/8Uzsbt8l19ntTM6lL6So0C0k1fNg6BVOr/AiEAxA+qri3zstP+WbWah8xEQVzh/DP3ZNTBYdcG/bnOO7M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":245991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4y8kCRA9TVsSAnZWagAAPv4QAJRRb8N5yDIak6DLm95e\neJvECfHhN5CEK71WCQdfloKRgyI5/0J7Q9L9E/j3xtR8CXzYc9qpPwhHe2qW\n6TH4HCf49B/WFs0+yD00r+hXx90cq+5Nc9iQ940PXBNbpYn6LWU3YzLWq3jF\n8V8wI4W+dJBHINOQs2F7BRzJMaIFWFG1xdRs+9sl42mu3CPDsGZZtYR4y3X6\nFehpRUmJD9ilw580yl9tEPCjNvRuafjDSd0cfANSyU6/3G4opuLYwJTkN7jI\nvpdBalaKS4xkfe89QVNt8hcaiIuXQhdH7N3IhdQE0m7LVU8Udx6u4LWId9IL\nCygi2iwYJ6jwzS75UgpiBSpFj/p+OrUW8EE/6rbQwo4QSkynkjR1Mvjatosv\n5vwsG9fLrE2pXmczJ0NHVk1nc+wtumkfNFxJc3YYpIfPTXY7F/X5jgc1VZWj\nCQ8z+n/T+8AM/PyfvmYAxJn3gKCPzmXZ67K9hpkTw6DHWB0WqrUBrh2VW+/Y\n1KceKn5mWUNujVhYGPpymg/Sbfc3A7q/PDGZ1TnYRSf04KWJHJkfQX9/11hd\nO7c6GadJREKb7u4gtR5ZdfP+woYWEsnGiFGEtQk1WGHlWibABnuwe5qrROjd\na2ZUKpNJ8eDobbd7gpV4eS9UpxJaP5wruGVsyive1M/SXgYH2/v5ofi9ICJn\n7QrO\r\n=Zaf9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./twind.cjs","name":"twind","type":"module","_from":"file:twind-1.0.0-next.12.tgz","types":"./twind.d.ts","unpkg":"./twind.global.js","author":{"url":"https://github.com/sastan","name":"Sascha Tandel"},"esnext":"./twind.esnext.js","module":"./twind.js","readme":"# twind\n\n---\n\n## READ THIS FIRST!\n\n**Twind v1 is still in beta. Expect bugs!**\n\nTwind v1 is a complete rewrite aiming to be compatible with Tailwind v3 classes\n\n---\n\nTailwind right in the browser without any build step.\n\n## Bundler Usage\n\n```sh\nnpm i twind@next\n```\n\n```js\nimport { setup } from 'twind'\n\n// You must call setup atleast once, but can call it multiple times\nsetup({\n  /* options */\n})\n```\n\nIncase you are not using SSR to inject the pre-computed styles apply the following pattern to prevent FOUC:\n\n```html\n<body class=\"!block\" style=\"display: none\">\n  <!-- ... -->\n</body>\n```\n\n## CDN Usage\n\nAdd this line to your `index.html`:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next\"></script>\n```\n\nTo configure Twind (optional):\n\n```html\n<script>\n  twind.setup({\n    presets: [\n      // custom presets...\n    ],\n    theme: {\n      extend: {\n        colors: {\n          clifford: '#da373d',\n        },\n      },\n    },\n    rules: [\n      // custom rules...\n    ],\n    // ...\n  })\n</script>\n```\n\nBy default, [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-tailwind](https://www.npmjs.com/package/@twind/preset-tailwind) will be applied.\n\n[Try it live](https://stackblitz.com/edit/twind-v1-example?file=index.html)\n\n### CDN Builds\n\n#### Core\n\nWithout any preset:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next/core.global.js\"></script>\n```\n\n#### Tailwind\n\nWith [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-tailwind](https://www.npmjs.com/package/@twind/preset-tailwind):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next\"></script>\n```\n\n#### Ext\n\nWith [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-ext](https://www.npmjs.com/package/@twind/preset-ext):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next/ext.global.js\"></script>\n```\n\n## API\n\nEverything from [@twind/core](https://www.npmjs.com/package/@twind/core) is available.\n\n### setup\n\nCan be called as many times as you want.\n\n### `tw` (from [@twind/runtime](https://www.npmjs.com/package/@twind/runtime))\n\nTDB\n\n### cx (from [@twind/core](https://www.npmjs.com/package/@twind/core))\n\n```js\nimport { cx } from 'twind'\n\n// Set a className\nelement.className = cx`\n  underline\n  /* multi\n    line\n    comment\n  */\n  hover:focus:!{\n    sm:{italic why}\n    lg:-{px}\n    -mx-1\n  }\n  // Position\n  !top-1 !-bottom-2\n  text-{xl black}\n`\n```\n\n### `shortcut` (from [@twind/core](https://www.npmjs.com/package/@twind/core))\n\nTDB\n\n### `style` (from [@twind/core](https://www.npmjs.com/package/@twind/core))\n\nTDB\n","engines":{"node":">=12.4"},"exports":{".":{"node":{"import":"./twind.mjs","require":"./twind.cjs"},"types":"./twind.d.ts","esnext":"./twind.esnext.js","module":"./twind.js","script":"./twind.global.js","default":"./twind.js"},"./ext":{"node":{"import":"./ext.mjs","require":"./ext.cjs"},"types":"./ext.d.ts","esnext":"./ext.esnext.js","module":"./ext.js","script":"./ext.global.js","default":"./ext.js"},"./core":{"node":{"import":"./core.mjs","require":"./core.cjs"},"types":"./core.d.ts","esnext":"./core.esnext.js","module":"./core.js","script":"./core.global.js","default":"./core.js"},"./package.json":"./package.json"},"license":"MIT","_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"homepage":"https://twind.dev","jsdelivr":"./twind.global.js","keywords":["twind","tw-in-js","tailwind","tailwindcss","tailwind-in-js"],"_resolved":"/home/runner/work/twind/twind/packages/twind/dist/twind-1.0.0-next.12.tgz","_integrity":"sha512-/cesYLw61m9FeczCmJXEQHVwYNGPDtuzChQs0psL2pY/E8GSYQzHBPp99UQ7eMWakO/Mpru1wqGrF2hREpUUaQ==","deprecated":"use @twind/core instead","repository":{"url":"git+https://github.com/tw-in-js/twind.git","type":"git","directory":"packages/twind"},"_npmVersion":"8.1.2","description":"tailwindcss compat based on twind","directories":{},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"},{"name":"lukejacksonn","email":"lukejacksonn@gmail.com"}],"sideEffects":false,"_nodeVersion":"16.13.2","contributors":[{"url":"lukejacksonn.github.io","name":"Luke Jackson"},{"url":"https://github.com/sastan","name":"Sascha Tandel"}],"dependencies":{"@twind/core":"1.0.0-next.11","@twind/runtime":"1.0.0-next.11","@twind/preset-ext":"1.0.0-next.11","@twind/preset-tailwind":"1.0.0-next.11","@twind/preset-autoprefix":"1.0.0-next.11"},"publishConfig":{"tag":"next","access":"public","directory":"dist"},"_hasShrinkwrap":false,"peerDependencies":{"typescript":"^4.4.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twind_1.0.0-next.12_1642278692313_0.4940617304221231","host":"s3://npm-registry-packages"},"_id":"twind@1.0.0-next.12","version":"1.0.0-next.12"}