René's URL Explorer Experiment


Title: GitHub - feathers-studio/comptime.ts: ⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup!

Open Graph Title: GitHub - feathers-studio/comptime.ts: ⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup!

X Title: GitHub - feathers-studio/comptime.ts: ⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup!

Description: ⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup! - feathers-studio/comptime.ts

Open Graph Description: ⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup! - feathers-studio/comptime.ts

X Description: ⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup! - feathers-studio/comptime.ts

Opengraph URL: https://github.com/feathers-studio/comptime.ts

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:07256262-fb1a-98ac-da0b-a40cc11c687e
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE892:182825:11936A8:171B129:698ECF33
html-safe-nonce05f33b90f76bdf6a5f04d3774cd223a7614e56e02f9032e439e5ec3caac70d87
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODkyOjE4MjgyNToxMTkzNkE4OjE3MUIxMjk6Njk4RUNGMzMiLCJ2aXNpdG9yX2lkIjoiNzgwMjQ0MzMzNzc5NzkxNDQyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb25071dee76ad58fc14ab5b40828ed4dc6bd476e6a591093aa4d7f7b987c48cf
hovercard-subject-tagrepository:981360676
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feathers-studio/comptime.ts
twitter:imagehttps://repository-images.githubusercontent.com/981360676/338502f3-bfa0-45b9-9f6b-253f3b91d1c7
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/981360676/338502f3-bfa0-45b9-9f6b-253f3b91d1c7
og:image:alt⚡️ Compile-time evaluation of expressions for smaller bundles or faster startup! - feathers-studio/comptime.ts
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/feathers-studio/comptime.ts git https://github.com/feathers-studio/comptime.ts.git
octolytics-dimension-user_id72543009
octolytics-dimension-user_loginfeathers-studio
octolytics-dimension-repository_id981360676
octolytics-dimension-repository_nwofeathers-studio/comptime.ts
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id981360676
octolytics-dimension-repository_network_root_nwofeathers-studio/comptime.ts
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeathers-studio%2Fcomptime.ts
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeathers-studio%2Fcomptime.ts
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=feathers-studio%2Fcomptime.ts
Reloadhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Reloadhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Reloadhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
feathers-studio https://patch-diff.githubusercontent.com/feathers-studio
comptime.tshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffeathers-studio%2Fcomptime.ts
Fork 4 https://patch-diff.githubusercontent.com/login?return_to=%2Ffeathers-studio%2Fcomptime.ts
Star 420 https://patch-diff.githubusercontent.com/login?return_to=%2Ffeathers-studio%2Fcomptime.ts
comptime.js.org/http://comptime.js.org/
MIT license https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/LICENSE
420 stars https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/stargazers
4 forks https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/forks
Branches https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/branches
Tags https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tags
Activity https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Ffeathers-studio%2Fcomptime.ts
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffeathers-studio%2Fcomptime.ts
Code https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Issues 4 https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/issues
Pull requests 0 https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/pulls
Actions https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/actions
Projects 0 https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/projects
Security 0 https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/security
Insights https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/pulse
Code https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Issues https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/issues
Pull requests https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/pulls
Actions https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/actions
Projects https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/projects
Security https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/security
Insights https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/pulse
Brancheshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/branches
Tagshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tags
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/branches
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tags
126 Commitshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/commits/master/
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/commits/master/
.github/workflowshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/.github/workflows
.github/workflowshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/.github/workflows
docshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/docs
docshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/docs
srchttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/src
srchttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/src
testshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/tests
testshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/tree/master/tests
.gitignorehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/.gitignore
.prettierrchttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/.prettierrc
.prettierrchttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/.prettierrc
CNAMEhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/CNAME
CNAMEhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/CNAME
ERRORS.mdhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/ERRORS.md
ERRORS.mdhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/ERRORS.md
LICENSEhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/README.md
SERIALISATION.mdhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/SERIALISATION.md
SERIALISATION.mdhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/SERIALISATION.md
bun.lockhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/bun.lock
bun.lockhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/bun.lock
package.jsonhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/package.json
package.jsonhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/package.json
tsconfig.jsonhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/tsconfig.json
tsconfig.jsonhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/tsconfig.json
READMEhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
MIT licensehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
https://raw.githubusercontent.com/feathers-studio/comptime.ts/master/docs/comptime.ts.svg
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#️-comptimets
https://github.com/feathers-studio/comptime.ts
Bun macroshttps://bun.sh/docs/bundler/macros
Zig comptimehttps://ziglang.org/documentation/master/#Compile-Time-Expressions
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#quick-references
↗️ Serialisation Referencehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/SERIALISATION.md
↗️ Error Referencehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/ERRORS.md
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#contents
What is comptime.ts?https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#what-is-comptimets
Exampleshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#examples
1. Simple sum functionhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#1-simple-sum-function
2. Turn emotion CSS into a zero-runtime CSS libraryhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#2-turn-emotion-css-into-a-zero-runtime-css-library
3. Calculate constants at compile timehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#3-calculate-constants-at-compile-time
Installationhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#installation
Usagehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#usage
With Vitehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#with-vite
With Bun bundlerhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#with-bun-bundler
Command Line Interfacehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#command-line-interface
Via APIhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#via-api
Forcing comptime evaluationhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#forcing-comptime-evaluation-of-arbitrary-expressions-and-resolving-promises
Resolving promiseshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#resolving-promises
Opting out of comptime viralityhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#opting-out-of-comptime-virality
Using other import attributeshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#using-other-import-attributes
Running code after comptime evaluationhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#running-code-after-comptime-evaluation
How it workshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#how-it-works
Limitationshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#limitations
Best practiceshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#best-practices
Troubleshootinghttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#troubleshooting
Supporting the projecthttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#supporting-the-project
Licensehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#license
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#what-is-comptimets
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#examples
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#1-simple-sum-function
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#2-turn-emotion-css-into-a-zero-runtime-css-library
running code after comptime evaluationhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#running-code-after-comptime-evaluation
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#3-calculate-constants-at-compile-time
(see serialisation)https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/SERIALISATION.md
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#installation
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#usage
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#with-vite
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#with-bun-bundler
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#command-line-interface
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#via-api
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#forcing-comptime-evaluation-of-arbitrary-expressions-and-resolving-promises
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#resolving-promises
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#opting-out-of-comptime-virality
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#using-other-import-attributes
opting out of comptime viralityhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#opting-out-of-comptime-virality
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#running-code-after-comptime-evaluation
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#how-it-works
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#limitations
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#best-practices
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#troubleshooting
error referencehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/ERRORS.md
raise an issuehttps://github.com/feathers-studio/comptime.ts/issues/new/choose
(see serialisation)https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/blob/master/SERIALISATION.md
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#supporting-the-project
Star and share the project with othershttps://github.com/feathers-studio/comptime.ts
GitHub Sponsorshttps://github.com/sponsors/MKRhere
Patreonhttps://patreon.com/MKRhere
Ko-fihttps://ko-fi.com/MKRhere
https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#license
comptime.js.org/http://comptime.js.org/
typescript https://patch-diff.githubusercontent.com/topics/typescript
compiler https://patch-diff.githubusercontent.com/topics/compiler
vite https://patch-diff.githubusercontent.com/topics/vite
comptime https://patch-diff.githubusercontent.com/topics/comptime
Readme https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Activityhttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/activity
Custom propertieshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/custom-properties
420 starshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/stargazers
2 watchinghttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/watchers
4 forkshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Ffeathers-studio%2Fcomptime.ts&report=feathers-studio+%28user%29
Releases 20https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/releases
Support composing import attributes Latest Nov 18, 2025 https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/releases/tag/0.8.0
+ 19 releaseshttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/releases
Packages 0https://patch-diff.githubusercontent.com/orgs/feathers-studio/packages?repo_name=comptime.ts
Please reload this pagehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
Contributors 2https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/graphs/contributors
Please reload this pagehttps://patch-diff.githubusercontent.com/feathers-studio/comptime.ts
TypeScript 98.6% https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/search?l=typescript
JavaScript 1.4% https://patch-diff.githubusercontent.com/feathers-studio/comptime.ts/search?l=javascript
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.