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

@jota-one/replacer

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jota-one/replacer - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0--canary.2.4467454835.0

6

index.d.ts
export declare function getReplacer(pattern: string | RegExp): Function
export declare function getExtractor(pattern: RegExp): Function
export declare function replace(str: string): string
export declare function replaceExpress(str: string): string
export declare function extractPlaceholders(str: string): Array<string>
export declare function replace(str: string, ...maps: Record<string, string>[]): string
export declare function replaceExpress(str: string, ...maps: Record<string, string>[]): string
export declare function extractPlaceholders(str: string, ...maps: Record<string, string>[]): Array<string>
{
"name": "@jota-one/replacer",
"version": "0.4.0",
"version": "0.5.0--canary.2.4467454835.0",
"type": "module",

@@ -40,5 +40,6 @@ "description": "A configurable string replacer tool",

"devDependencies": {
"auto": "^10.43.0",
"ava": "^3.12.1",
"esm": "^3.2.25",
"esbuild": "^0.6.27"
"esbuild": "^0.6.27",
"esm": "^3.2.25"
},

@@ -45,0 +46,0 @@ "ava": {

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