---
number: 30307
slug: 30307-write-edge-functions-in-pure-javascript-instead-of-using-typescript
published: 2024-11-05
discussion: https://github.com/orgs/supabase/discussions/30307
labels:
  - edge functions
page: https://supabase.com/changelog/30307-write-edge-functions-in-pure-javascript-instead-of-using-typescript
---

# Write Edge Functions in pure JavaScript instead of using TypeScript

From Supabase CLI version 1.215.0 or higher you can configure a custom entrypoint to your Edge Functions. This can be used to write Edge Functions in pure JavaScript instead of TypeScript.

Save your Function as a JavaScript file (eg: `index.js`) and then update the `supabase/config.toml` as follows:

```toml
[functions.hello-world]
# other entries
entrypoint = './functions/hello-world/index.js' # path must be relative to config.toml
```

You can use any `.ts`, `.js`, `.tsx`, `.jsx` or `.mjs` file as the entrypoint for a Function.

More details: https://supabase.com/docs/guides/functions/quickstart#not-using-typescript
