How do I turn a snap! project to a extension?

How do I turn a snap! project to a extension?

File -> export blocks

Can you expand a bit on what your asking?

I'm asking this as extensions aren't projects - they are bits of JavaScript that you call from your own custom blocks

Show an example of something that your looking to package as an extension and we can lead you thru the process

Do you mean a library?

I think they're thinking of a Library, Extensions in Scratch are extra sets of blocks, those are called Libraries here.

My first ninja of the Snap! forums.

What?

Oh sorry, here's some explanation. It's some Scratch forum lingo.

Oh. Makes sense. Heh.

I mean library

I want to export it to js

And what is it?

Why export it to JS when you could just keep it as blocks?

For a snap! mod, I will need js

I see.