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

@phoenix-plugin-registry/grafluxe.any-template

v2.5.0

Published

Easily create and use YOUR own template files. This extension adds a new menu item to the main menu bar which lists any template files you create. Templates can be of any file type supported by Brackets.

Downloads

3

Readme

Any Template

This Adobe Brackets extension allows you to easily create and use your own template files. It adds a new "Template" menu item to the main menu bar which lists any template files you create. Templates can be of any file type supported by Brackets.

Screenshot

Add/Edit Templates

  • From the "Template" menu item, select "Open Templates Folder..."
  • Add any file type supported by Brackets.
  • Restart Brackets to see updated files.

Download Templates

Optionally, you can find some templates here.

Select Template

  • From the "Template" menu item, select your desired template file.
    • Template files are sorted by type.
  • Once a file is selected, you will be presented with the following options:
    • Create Untitled Document
    • Overwrite Current Document
    • Cancel

Edit Template Path

  • Upon first installing this extension, you will be asked to select a folder to load your templates from.
  • If ever you need to edit the folders path, you can find it in your preference file.

Install Extension

In the Brackets Extension Manager, either:

  • Search for Any Template
  • Use the "install from URL" option and paste in https://github.com/Grafluxe/any-template

Restart Brackets after install.

Changelog

2.5.0

  • Improve support for hidden files.
  • Improve support for files with no extension.

2.4.2

  • Fix issue where an error occurs when attempting to use a template when no working files are open.

2.4.1

  • Update "Overwrite Current Document" logic to only support files of the same type.
  • Fix issue with how files with no extension are handled when adding the extension to newly created untitled files (see v2.4.0).
  • Make code more DRY.

2.4.0

  • Add file extensions to newly created untitled files (so that code hinting and formatting works).
  • Babelify logic to ES5 (in order to support certain Linux distributions).

2.3.0

  • Support files with no extension.

2.2.0

  • Handle cases where the templates folder no longer exists.

2.1.0

  • Update counter logic for when creating untitled documents.
    • Counter now updates on the "workingSetAdd" event.
    • Starting file counter at 10 so to better avoid Brackets "duplicated in mru list" issue.

2.0.0

  • Rewrite logic to allow users to choose their own template path.
  • Clean up code.

1.1.0

  • Replace deprecated Brackets method with new one.
  • Hard set menu item location.

1.0.1

  • Fix issue where Brackets throws an error if an untitled file has an extension.
    • Due to this limitation, I no longer set a file type, so code hinting will not work until the file is saved.
  • Rename module titles.

1.0.0

  • Initial release.

License

Copyright (c) 2016 - 2017 Leandro Silva (http://grafluxe.com)

Released under the MIT License.

See LICENSE.md for entire terms.