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

oneline

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oneline - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

oneline.d.ts

@@ -1,9 +0,3 @@

type JSTag = (literals: TemplateStringsArray, ...placeholders: any[]) => string;
declare function OneLine(literals: TemplateStringsArray, ...placeholders: string[]): string
interface TemplateTag {
(str: string): string;
(tag: JSTag): TemplateTag;
(literals: TemplateStringsArray, ...placeholders: any[]): string;
}
export = TemplateTag
export = OneLine

2

package.json
{
"name": "oneline",
"version": "1.0.1",
"version": "1.0.2",
"description": "Write nice template literals with newlines, but format as a single-line string",

@@ -5,0 +5,0 @@ "main": "./oneline.js",

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