{"bugs":{"url":"https://github.com/tw-in-js/twind/issues"},"dist":{"shasum":"ec3525b464e0d9f26261c002a3afbbfb283ad73e","tarball":"https://registry.npmjs.org/twind/-/twind-1.0.0-next.8.tgz","fileCount":37,"integrity":"sha512-V85F2lKJPbyIKXTHvp99YI5urxoR6AR1ZBo7AU0idF2e+pdEqZmGSLBj5VullGCeSxhzAJB561yyQgx+qFnYnQ==","signatures":[{"sig":"MEUCIQCXKN+5hi280xZ4jFbZBDkgAuzVpV6nG6kjLDInbeCE4gIgfegTIJEtfHpD86xKBaf3f1ksaLLXIASzSjU0/PHJwhg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":477282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3K01CRA9TVsSAnZWagAABh0P/0+BrHPbQXqjpT1P4p7V\nwS7W1G43GNxk13FbgdRl/8qwH9q+/MW0q+5+V2hzI64BbuKFjIEM/9SSsq78\nd97biq2svJSH/9bt/50aZW2qG3025pQgaPp53m14yhS9FktHyuogC2iOPgLU\npYiy8icn1TuGLrGvhfBSCFeA0fEepwC53ZOrh6zKZsNtp5K/Jy+gcQJ3wxIP\nXAyRVuWZZOkypV0i1BHYPM/YWNrTF1LGxEtCxF/hlNfJygSKlf9ANihUxlnP\nc5vvMIrAKdh00s0LTnoMfNXXvp5NyP4uvGx7Cp2FIZbMkitsPSnc9qp4/tWd\nFSc6ncfdiJsBS3/usATIxKtN7zVKAK2Pt1pTuyoG0z3bIrULot0y1HgQFlx7\nv6V/7BeRmVI+PiBo0NIvlbG6vLdFkIZZzhXVfRdloQW/TSbz9aMWq8YzIodK\nS+rMJUEjPmRrvuh6QKs+aaKGmaxK2hyMBxPfJ8jRZvRWi0kQf+BnIkXjKFrM\nFST9UBMxf9Uykav5qt+UQuBoABs/MU69Ed3PKKUVtsLvWiQrvhUdScp+pf4j\nU7B9ZmxMwyHZ5d+aGOncmQSrTpE2bRgm42Oz0SSEB9Q9ph3wyINmwlqOESJL\njc+RO2u7kkmBrEA7pwN2lz7cHFB1azWoeamOQm3x2SNJIPKnQH+sHIr4nNeI\n3HfG\r\n=4ST7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./twind.cjs","name":"twind","type":"module","_from":"file:twind-1.0.0-next.8.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#### Mini\n\nWith [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-mini](https://www.npmjs.com/package/@twind/preset-mini):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next/mini.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### 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### `apply` (from [@twind/core](https://www.npmjs.com/package/@twind/core))\n\nTDB\n\n### `tw` (from [@twind/runtime](https://www.npmjs.com/package/@twind/runtime))\n\nTDB\n\n### `theme` (from [@twind/runtime](https://www.npmjs.com/package/@twind/runtime))\n\nTDB\n","engines":{"node":">=12.4"},"exports":{".":{"node":{"import":"./twind.mjs","module":"./twind.js","require":"./twind.cjs"},"types":"./twind.d.ts","esnext":"./twind.esnext.js","module":"./twind.js","script":"./twind.global.js","default":"./twind.js"},"./core":{"node":{"import":"./core.mjs","module":"./core.js","require":"./core.cjs"},"types":"./core.d.ts","esnext":"./core.esnext.js","module":"./core.js","script":"./core.global.js","default":"./core.js"},"./mini":{"node":{"import":"./mini.mjs","module":"./mini.js","require":"./mini.cjs"},"types":"./mini.d.ts","esnext":"./mini.esnext.js","module":"./mini.js","script":"./mini.global.js","default":"./mini.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":"/Users/sastan/Projects/tw-in-js/twind/packages/twind/dist/twind-1.0.0-next.8.tgz","_integrity":"sha512-V85F2lKJPbyIKXTHvp99YI5urxoR6AR1ZBo7AU0idF2e+pdEqZmGSLBj5VullGCeSxhzAJB561yyQgx+qFnYnQ==","deprecated":"use @twind/core instead","repository":{"url":"git+https://github.com/tw-in-js/twind.git","type":"git","directory":"packages/twind"},"_npmVersion":"8.3.0","description":"tailwindcss compat based on twind","directories":{},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"},{"name":"lukejacksonn","email":"lukejacksonn@gmail.com"}],"sideEffects":false,"_nodeVersion":"17.3.0","contributors":[{"url":"lukejacksonn.github.io","name":"Luke Jackson"},{"url":"https://github.com/sastan","name":"Sascha Tandel"}],"dependencies":{"@twind/core":"1.0.0-next.7","@twind/runtime":"1.0.0-next.7","@twind/preset-mini":"1.0.0-next.7","@twind/preset-tailwind":"1.0.0-next.7","@twind/preset-autoprefix":"1.0.0-next.7"},"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.8_1641852213557_0.6774251102828117","host":"s3://npm-registry-packages"},"_id":"twind@1.0.0-next.8","version":"1.0.0-next.8"}