Socket
Socket
Sign inDemoInstall

strman.append

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-pre-release-0 to 2.0.0

27

index.js

@@ -7,11 +7,26 @@ var appendArray = require('strman.appendarray')

/**
* @module append
* @description
* Append Strings on Value with spreaded arguments
* ## Install
* Install all functions of strman
* ```sh
* yarn add strman
* ```
* or just the append function
* ```sh
* yarn add strman.append
* ```
* ## Usage
* ```javascript
* import { append } from 'strman'
* // OR
* import append from 'strman.append'
* ```
* @param {String} value Initial value
* @param {String} appends Spreaded array with strings to append
* @return {String} The concatenated string
* @playground
* var strman = require('strman')
*
* let title = 's'
* strman.append(title, 'tr', 'm', 'an') // returns 'strman'
* @example
* append('s', 'tr', 'm', 'an')
* // => 'strman'
* @returns {String} The concatenated string
*/

@@ -18,0 +33,0 @@ exports.default = function (value) {

{
"name": "strman.append",
"version": "2.0.0-pre-release-0",
"version": "2.0.0",
"description": "The [strman](https://github.com/dleitee/strman) method `append` exported as a [Node.js](https://nodejs.org/) module.",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"strman.appendarray":"2.0.0-pre-release-0"
"strman.appendarray":"2.0.0"
},

@@ -23,0 +23,0 @@ "author": "Daniel Leite de Oliveira <dleitee@gmail.com>",

# strman.append v2.0.0-pre-release-0
# strman.append v2.0.0

@@ -4,0 +4,0 @@ The [strman](https://github.com/dleitee/strman) method `append` exported as a [Node.js](https://nodejs.org/) module.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc