New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

primjs

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primjs - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

package.json
{
"name": "primjs",
"version": "0.2.3",
"version": "0.2.4",
"description": "Natural and extensible interface markup for the web.",

@@ -5,0 +5,0 @@ "main": "prim.js",

@@ -9,3 +9,3 @@ # prim

It leaves out specific rules like `img tags are self-closing` to achieve maximum performance and transparency. The simple, unopinionated design of Prim allows for a healthy balance between recyclability and output certainty.
Bearing a simple syntax and leaving out specific rules like `img tags are self-closing`, Prim achieves maximum performance and readability. The simple, unopinionated design of Prim allows for a healthy balance between recyclability and output transparency.

@@ -34,4 +34,4 @@ Prim is great for creating web applications. The parser returns a plain HTML string that can be treated as a reusable atomic DOM node. It plays well with client-side MVC frameworks such as AngularJS and Backbone, and servers like Express (Node.js).

```js
prim.parse('div(class="article") { p { "Lorem ipsum dolor sit amet" } }');
// "<div class="article"><p>Lorem ipsum dolor sit amet</p></div>"
prim.parse('div(class="article") { p | Lorem ipsum dolor sit amet | }');
// '<div class="article"><p>Lorem ipsum dolor sit amet</p></div>'
```

@@ -45,6 +45,6 @@

div(class='panel panel-default') {
div(class='panel-heading') { 'Prim' }
div(class='panel-body') { 'Natural, fat free, and extensible interface markup for the web.' }
div(class='panel-heading') | Prim |
div(class='panel-body') | Natural, fat free, and extensible interface markup for the web. |
div(class='panel-footer') {
a(href='https://github.com/edge/prim') { 'Get it now' }
a(href='https://github.com/edge/prim') | Get it now |
}

@@ -155,3 +155,3 @@ }

```html
<input type='text' placeholder='username' />
<input type='text' placeholder='Username' />
```

@@ -172,5 +172,5 @@

- Implement end-of-markup short hand (% = EOM)
- Implement template functions (#variable)
- Implement end-of-markup short hand `% = EOM`
- Implement template functions `#variable`
- Generate README docs directly from code
- Explore flexibility from delegating explicit strings
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