{"id":21455534,"url":"https://github.com/hookdeck/transformation-cryptojs","last_synced_at":"2025-03-17T03:24:40.364Z","repository":{"id":118550669,"uuid":"525943232","full_name":"hookdeck/transformation-cryptojs","owner":"hookdeck","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-18T17:31:59.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T13:13:48.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hookdeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-17T20:25:39.000Z","updated_at":"2023-01-13T08:26:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d3c6eca-b93d-481c-a01a-5d7fc36a106a","html_url":"https://github.com/hookdeck/transformation-cryptojs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-cryptojs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-cryptojs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-cryptojs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hookdeck%2Ftransformation-cryptojs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hookdeck","download_url":"https://codeload.github.com/hookdeck/transformation-cryptojs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243966072,"owners_count":20375993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T05:12:33.364Z","updated_at":"2025-03-17T03:24:40.348Z","avatar_url":"https://github.com/hookdeck.png","language":"JavaScript","readme":"# Using Crypto-js (or any other vanilla js library) in Hookdeck\n\n[slack-badge]: https://img.shields.io/badge/Slack-Hookdeck%20Developers-blue?logo=slack\n\n[![slack-badge]](https://join.slack.com/t/hookdeckdevelopers/shared_invite/zt-yw7hlyzp-EQuO3QvdiBlH9Tz2KZg5MQ)\n\nThe Hookdeck transformation runtime does not expose the node.js standard library. One way to get around that limitation is to find a polyfill, a ponyfill or a library that implements the desired functionality and bundle it with webpack, then upload the resulting bundle to the transformation editor.\n\nThis repo shows how to do that with Crypto-js.\n\n# How to get it working\n\n1. Clone the repo\n2. Run `npm install`\n3. Run `npm run-script build`\n4. Modify the handler to do what you need it to\n5. Copy/paste the contents of the bundle in `dist/main.js` to your transformation\n6. Run the transformation to test that it works\n\n[video](https://www.loom.com/share/86c7e6beea5844c9af52624cd9226a88) here!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhookdeck%2Ftransformation-cryptojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhookdeck%2Ftransformation-cryptojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhookdeck%2Ftransformation-cryptojs/lists"}