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

templyte

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

templyte - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

dist/index.d.ts

46

package.json
{
"name": "templyte",
"version": "1.0.1",
"version": "2.0.0",
"description": "Simple Javascript string template. Useful for simple string translations and text replacing.",
"main": "index.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=14.16"
},
"files": [
"dist",
"package.json",
"README.md"
],
"scripts": {
"test": "node_modules/.bin/jest --roots=test"
"build": "tsc",
"prebuild": "npm run test",
"lint": "xo !*.config.js",
"lint:fix": "xo --fix",
"test": "jest --config jest.config.js",
"pretest": "xo !jest.config.js",
"test:watch": "jest --watch",
"prepublish": "npm unlink && npm run build"
},

@@ -19,2 +35,4 @@ "repository": {

"javascript",
"ts",
"typescript",
"node.js"

@@ -29,7 +47,25 @@ ],

"dependencies": {
"escape-string-regexp": "^1.0.5"
"escape-string-regexp": "4.0.0"
},
"devDependencies": {
"jest": "^23.6.0"
"@types/jest": "^29.0.0",
"husky": "^8.0.1",
"jest": "^29.0.3",
"lint-staged": "^13.0.3",
"ts-jest": "^29.0.0",
"tsd": "^0.23.0",
"typescript": "^4.8.3",
"xo": "^0.52.3"
},
"husky": {
"hooks": {
"pre-commit": "npm test && lint-staged"
}
},
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
]
}
}

8

README.md

@@ -5,7 +5,9 @@ # templyte

[![Build Status][ico-travis]][link-travis]
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3XKLA6VTYVSKW&source=url)
Simple and lightweight Javascript string template. Useful for simple string translations and text replacing.
## install
You can install it if your Node.JS version is >= 6.x. Then run the following command:
You can install it if your Node.JS version is >= 14.x. Then run the following command:
```bash

@@ -45,3 +47,3 @@ > npm install templyte --save

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
The MIT License (MIT). Please see [License File](LICENSE) for more information.

@@ -53,2 +55,2 @@

[link-author]: https://github.com/SiroDiaz
[link-travis]: https://travis-ci.org/SiroDiaz/templyte
[link-travis]: https://travis-ci.org/SiroDiaz/templyte

Sorry, the diff of this file is not supported yet

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