Your JavaScript Assistant

Write modern, clean, and concise code. In JavaScript and TypeScript.

P42 JavaScript AssistantP42 JavaScript Assistant
Add to VS Code - it's free
from 9000+ installs


@p42ai makes refactoring a ton of fun ❤️ 


Edit Code Faster

Manually editing your code can be cumbersome and error-prone.

With P42, you can use fast, automated code assists and refactorings to modify your code on a structural level and focus on what change you want to make, not on how to type it in.

Edit your code faster with the P42 JavaScript Assistant.

Learn Modern JavaScript

JavaScript and its ecosystem are rapidly progressing.

P42 shows suggestions for using up-to-date JavaScript syntax and APIs so you can write clean, modern code without worrying about the latest changes to the language.

Learn modern JavaScript with the P42 JavaScript Assistant.

Refactor Safely

Refactorings, especially those that are performed manually, can easily break existing functionality or introduce bugs.

P42 automates refactoring steps and analyses the safety of potential refactorings, so you can refactor with confidence and know what to consider to avoid unnecessary breakages.

Refactor safely with the P42 JavaScript Assistant.


Legacy code is a growing problem in the JavaScript world. I've created P42 to help developers refactor and modernize complex codebases.


Founder of P42

Are Your Repositories on GitHub?

P42 for GitHub helps you automate code reviews, identify outdated code, and safely modernize complex JavaScript and TypeScript repositories. Learn more