{"bugs":{"url":"https://github.com/tw-in-js/twind/issues"},"dist":{"shasum":"cce9b1caf230a85eca35a984f4d557f9176b3b8e","tarball":"https://registry.npmjs.org/twind/-/twind-1.0.0-next.14.tgz","fileCount":37,"integrity":"sha512-earZu9EQeck7R7y6ouf6vDE/NmwrJf4J0vZhT459CxMgY7L40BnvaL3DXHybKIyBwB4o3RleRQF+mFNMYfcr9w==","signatures":[{"sig":"MEUCIAxpnK+maD0OCVsSvEFNVIfHscoVfGTyhdw2gBqypm1WAiEAw1oN4zU+/LWQf6v/FXQ87XlYmRKE44YdFvFce/O3R4I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":337434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5JK9CRA9TVsSAnZWagAAKKcP/0P0antcvUG4HpnxU0rA\nAsnbCOs1oOcV7OQuY90Td2QmQmWR9fHhmdlFgScnhMxist9Z1gBRytwy3w0o\nRnqNJpEulNluKA7IQ33QAgEWUrTpQw0agBLnsArvkddGGg+DC4ykapIx86zb\nkSMwHrOsfhAi52/WQWM4QTKew0WV3B6vcb+mFF+j+fNAqD0NYLMOhjpt0zQx\nRCfpmfS12K/9f2k30MFjt8x0d4KaYrlURJ0NEzMCSPecGIsBQexqOoipmwqU\nImCTMvkJGhvZREf2JlOmCQrLgmWxeylXzIhE41YPFQU7B7O0EWsT21CSj7Z5\nEBY93TGxNS8O7QpLQLOxJorjjgPpwLX4mn/iHiVUMDNZHShhWhyW2pybl7Xs\nMF3LWW5GkqWXPhXH/nPXVcx82irEZ7kzdaPrbKqZiXjkwQu5dv+RfUNPtyiA\n6cRpwrBSu2o7v7WzTe+2e5YgS94OO3Y2pQ0b32ur00i2LqSu3kblVKbrc/ta\nsmUzJecb+GW6bkOgXvk/qsiX+cM1cZ6lV6o7HXfOzOHnC0W5D740EE4xyehq\ncWnGF60hkN/jFpGdwG5D+09L9eFQDETVV1+p4W+duESqcoA2/u34U3/Rpy1p\nWvG+gmEXQtmawN2hwugx8fPX5bYZfbBxSJUc4MgfAwcxaCMs//VhnR2JFHOp\nlfQ0\r\n=PvOq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./twind.cjs","name":"twind","type":"module","_from":"file:twind-1.0.0-next.14.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/preset.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#### Tailwind CDN\n\nWith [@twind/preset.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/cdn.global.js\"></script>\n```\n\n> Please note: This build does not export any helper functions like `cx`, `style`, or `css`. It is meant as a replacement for Tailwindcss CDN.\n\n#### Tailwind\n\nWith all core exports and the presets [@twind/preset.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#### 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## 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"},"./cdn":{"node":{"import":"./cdn.mjs","require":"./cdn.cjs"},"types":"./cdn.d.ts","esnext":"./cdn.esnext.js","module":"./cdn.js","script":"./cdn.global.js","default":"./cdn.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.14.tgz","_integrity":"sha512-earZu9EQeck7R7y6ouf6vDE/NmwrJf4J0vZhT459CxMgY7L40BnvaL3DXHybKIyBwB4o3RleRQF+mFNMYfcr9w==","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.12","@swc/helpers":"^0.3.2","@twind/runtime":"1.0.0-next.12","@twind/preset-tailwind":"1.0.0-next.13","@twind/preset-autoprefix":"1.0.0-next.12"},"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.14_1642369725457_0.8559467210546423","host":"s3://npm-registry-packages"},"_id":"twind@1.0.0-next.14","version":"1.0.0-next.14"}