strncat
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

strncat

NPM Version Action Status License

A port of the strncat C or C++ function.

strncat appends a specified amount of characters from the start of one string to the end of another.

Install

npm install --save strncat

Usage

Usage is very similar to that of the original function.

Javascript

const { strncat } = require("strncat");

let result = strncat("foo", "barman", 3);
// result = "foobar"

Typescript

import { strncat } from "strncat";

let result = strncat("foo", "barman", 3);
// result = "foobar"

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i strncat

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

5.76 kB

Total Files

9

Last publish

Collaborators

  • basvandam