Socket
Book a DemoInstallSign in
Socket

perthite-2

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perthite-2

Perthite2 is a simplified, lightweight JavaScript Templating Engine.

2.0.9
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Pr Templates

  • Pr Templates is a simplified, lightweight JavaScript Templating Engine.
  • This templating engine can work in Node Js, with Express JS.

Homepage

phillip-rek.github.io

Repository

github.com/Phillip-Rek/perthite

Usage Example

{% template navBar(pages) %}
    <nav>
        {% for(let page of pages) %}
            <a href="${page.url}">{{ page.name }}</a>
        {% end_for %} 
    </nav>
{% end_template %}

{% call: navBar([{ name: "Home", url: "/" }, { name: "About", url: "about" }]) %}

Installing

npm i perthite-2

Documentation

Documentation can be found on the wiki page as well as on the github page

Bug Reporting

Your Issues are more welcome, Help us improve Perthite by reporting any bugs you may encounter.

Contributing

Check out for open issues and start contributing. You can also contribute by improving the documentation or you can write articles about Perthite. Another way of contributing is by asking for features, we would like to hear what features would you like is to implement on this library.

License

MIT

Copyright (c) 2020 Phillip Rekhotho

Keywords

perthite

FAQs

Package last updated on 07 Jun 2024

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.