Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yasel

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yasel

Yasel (Yasnippet Expand License) outputs commented license snippets for use with Emacs and Yasnippet from a directory of snippet templates.

  • 0.1.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Yasel

Yasel (Yasnippet Expand License) outputs commented license snippets for use with Emacs and Yasnippet from a directory of snippet templates.

Usage: yasel <src> <dest> [options]

src      Path to the license template directory
dest     Path to your snippets directory

Options:
   -c FILE, --modes-config FILE   Path to modes config.  [./.yasel.json]
   -h, --help                     Show this help.

Example ~/.emacs.d/.yasel.json:

{
    "c-mode": {
        "pre":  "/*",
        "body": " * ",
        "post": " */"
    },
    "c++-mode": {
        "pre":  "/*",
        "body": " * ",
        "post": " */"
    },
    "emacs-lisp-mode": {
        "body": ";; "
    },
    "go-mode": {
        "pre":  "/*",
        "body": " * ",
        "post": " */"
    },
    "haskell-mode": {
        "body": "-- "
    },
    "js-mode": {
        "pre":  "/*",
        "body": " * ",
        "post": " */"
    },
    "lua-mode": {
        "pre":  "--[[",
        "body": "  * ",
        "post": "--]]"
    },
    "sh-mode": {
        "body": "# "
    }
}

Keywords

FAQs

Package last updated on 29 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc