Socket
Book a DemoInstallSign in
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
Package was removed
Sorry, it seems this package was removed from the registry

yasel

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

unpublished
latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
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

Emacs

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.