The Javascript Blocks editor allows the publishing of packages. These packages can be loaded into another user's script and used by them. They are really useful for publishing drivers for accessories or other useful pieces of hardware, as well as adding in new software features. There is a published guide to build your own packages.




Only packages on the approved package list are visible to users directly in the Javascript Blocks Editor on makecode.microbit.org. However, if you paste that URL in the package search box, it will find your package and allow anyone to add it to their project.



We do approve some packages so that they appear in the package list (or so that you can search by name), but packages approved in this way must meet specific requirements around documentation and stability, because it's important that our users have a great experience when learning with the micro:bit. Therefore, initially you may just prefer to put a link to your github package URL on your blog or web page, and tell people to paste that into the package search box to access your package.


Approval Process


If you do still want your package added to the approved list, please fill out our online form to begin the process. This form is emailed to us and we will then respond to you accordingly. Once we are satisfied that your package meets requirements, you will be asked to submit a Pull Request to the pxt-microbit GitHub Repository to update the following files with your information:


https://github.com/Microsoft/pxt-microbit/blob/master/targetconfig.json and

https://makecode.microbit.org/packages


A member of the team will comment on the Pull Request asking the Makecode team to approve.


Please note we are only able to approve requests for genuine micro:bit related accessories.