Socket
Socket
Sign inDemoInstall

just-echo

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-echo - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

14

bin/index.js

@@ -1,5 +0,7 @@

import { program } from "commander";
import justEcho from "../dist/index";
import pkg from "../package";
#!/usr/bin/env node
const { program } = require('commander');
const justEcho = require('../dist/index');
const pkg = require('../package');
const { version, description, name } = pkg;

@@ -10,10 +12,10 @@

.version(version)
.arguments("[args...]")
.arguments('[args...]')
.description(description, {
args: "echoes (prints) the provided arguments to stdout",
args: 'echoes (prints) the provided arguments to stdout',
})
.action((args) => {
process.stdout.write(`${justEcho(...args).join(" ")}\n`);
process.stdout.write(`${justEcho(...args).join(' ')}\n`);
});
program.parse();
declare const justEcho: <T extends unknown[]>(...arg: T) => T;
export default justEcho;
export = justEcho;

@@ -0,2 +1,3 @@

"use strict";
const justEcho = (...arg) => arg;
export default justEcho;
module.exports = justEcho;
{
"name": "just-echo",
"version": "1.0.21",
"version": "1.0.22",
"description": "npm package template",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": "bin/start.sh",
"type": "module",
"bin": "bin/index.js",
"scripts": {
"build": "tsc --project misc/tsconfig.json",
"lint": "eslint src tests bin misc --fix --config misc/.eslintrc.cjs --ext .js,.cjs,.ts",
"build": "tsc --project configs/tsconfig.json",
"lint": "eslint src tests bin configs --fix --config configs/.eslintrc.js --ext .js,.ts",
"setup-hooks": "husky install",
"prepare": "npm run build && npm run setup-hooks",
"test": "mocha --require=./bin/supress-experimental-warning.cjs --experimental-specifier-resolution=node tests/main.test",
"test": "mocha tests/main.test",
"docs": "typedoc src/index.ts",
"cli": "bin/start.sh"
"cli": "bin/index.js"
},

@@ -18,0 +17,0 @@ "repository": {

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