npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

javascript-expert

v1.1.1

Published

This extension if for help javascript developer write code faster and with correction syntax

Downloads

2

Readme

javascript-expert extension for Visual Studio Code

This extension is for Javascript lover. This extension save your time and give you power for write code with short prefix command.

Installation

Install through VS Code extensions. Search for javascript-expert

Javascript-expert

Can also be installed using

ext install javascript-expert

Usage

Available Shortcut Key:


| sl | key | code | Description | | ---- | ----------- | ------------------------------------------------------------ | ----------------------------------------------------- | | 1 | d | console.log("===============================");console.log(value);console.log("==============================="); | d key is use for console.log show for debug your code | | 2 | caf | const functionName =()=>{ return ;} | caf is use for use const arrow function syntax | | 3 | laf | let functionName =()=>{ return ;} | laf is use for use let arrow function syntax | | 4 | rf | function functionName(){} | rf is use for regular function | | 5 | im6 | import default_module_name from "package_name" | im6 is used for import es6 module import | | 6 | im5 | var module_name = require("package_name") | im5 is used for import es6 module import | | 7 | em6 | export default moduleName; | module export syntax | | 8 | em5 | module.exports = moduleName; | module export syntax single or default syntax | | 9 | me6 | export { } | module export syntax single or default syntax | | 10 | me5 | module.exports={} | module export syntax es5 multiple | | 11 | erf6 | function name(){//write your code here....}export default name; | module export syntax es6 multiple | | 12 | ef5 | function name(){//write your code here...} module.exports=name; | module export syntax es5 multiple | | 13 | edfr | export default function name(){//write your code here...} | export default function regular | | 14 | edfa | const name=()=>{return returntedValue; } | export default arrow function | | 15 | rfc | import React from "react";const App=()=>{return (Hello world!);}export default App; | react functional component write | | 16 | cc | import React from "react";class ComponentName extends React.Component {render(){return "Hello World";}}export default ComponentName; | React Class component | | 17 | cccs | import React from "react";class ComponentName extends React.Component {constructor(props){super(props)this.state = {}; }render(){return "Hello World";}}export default ComponentName; | Class component with constructor and props | | 18 | is | style ={{ }} | inline style | | 19 | useState | const [state, setState] = useState(value) | useState Hooks | | 20 | useEffect | React.useEffect(()=>{//write your effect here...},[dependecy]) | useEffect Hooks | | 21 | useContext | const value = React.useContext(MyContext) | useContext Hooks | | 22 | useReducer | const [state, dispatch] = React.useReducer(reducer, initialArg, init); | useReducer Hooks | | 23 | useCallback | const callBack = React.useCallback(()=>{},[]) | useCallback Hooks | | 24 | useRef | const ref = React.useRef(null) | useRef Hooks | | 25 | useMemo | const callBack = React.useMemo(()=>{},[]) | useMemo Hooks | | 26 | denos | import { serve } from "https://deno.land/std/http/server.ts"; serve(req => new Response("Hello World\n")); | deno start program code template | |27 |d-handle| function handler(req: Request): Response {     return new Response("Hello, World!");} | handler function deno

Contribute

This is my first Visual Studio Extension so I probably made some terrible choices. Feel free to [open issues or PRs on the GitHub page][github page]!