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

create-looker-extension

v1.0.5

Published

A utility to bootstrap looker extensions without manual configuration

Downloads

30

Readme

create-looker-extension

Create Looker Extensions with zero manual configuration

This utility helps you rapidly create new Looker Extension Framework applications.

We recommend this utility as a quick way to start nearly all extension projects. The output is intended to be a foundation that you can customize and build upon, without having to worry about any of the under-the-hood configuration.

Example usage:

You must have Yarn installed to use this tool.

yarn create looker-extension <your-project-name>
cd <your-project-name>
yarn develop

Developing this template

To run this project locally (for testing changes, etc.), use the following command from the root folder.

yarn new <your-project-name>

The template must be generated to a folder that doesn't exist, so a typical flow to incrementally test the template creation would be:

yarn new testfoo
# answer prompts
cd testfoo
# look at the generated project, yarn develop, etc.
cd ..
rm -rf testfoo

Deploying this project

Releases are handled by this workflow which uses a wombat dressing room and a "release backed token". In order for it to publish correctly you must create a new GitHub Release and use very specific release name and tag name format. Use this release as a template:

  • release name: @looker/create-looker-extension create-looker-extension-vX.Y.Z
  • tag name (choose create new tag or separately create it beforehand): create-looker-extension-vX.Y.Z

Supported languages & frameworks

Currently, create-looker-extension can bootstrap extensions with:

  • React & Javascript
  • React & Typescript
  • "Vanilla" (plain) Javascript
  • "Vanilla" (plain) Typescript

We recommend you use React for the best development experience, but you're welcome to use plain vanilla Javascript or any framework of your choice. Please feel free to submit a PR for supporting your favorite framework!

More about the Extension Framework

The Looker extension framework is a development framework that significantly reduces the effort and complexity of building custom JavaScript data applications and tools for Looker. Custom applications and tools created with the extension framework can be accessed from within Looker, allowing Looker to handle functions such as authentication, API access, and access control and permission management.