Socket
Book a DemoInstallSign in
Socket

capture-n-sequential-chars-in-string

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capture-n-sequential-chars-in-string

this is a re-created debounce version with less codes in ES6 built with Rollup

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

captureNsequentialChars

This is to capture the first matched n sequential characters in a string.

Installation

Node JS (>=8.4.0)

    npm install capture-n-sequential-chars-in-string
    or
    yarn add capture-n-sequential-chars-in-string

browser

<script src="https://unpkg.com/capture-n-sequential-chars-in-string/dist/captureNsequentialChars.umd.js" />

Usage

ES Modules

import captureNsequentialChars from 'capture-n-sequential-chars-in-string'

common js

const captureNsequentialChars = require('capture-n-sequential-chars-in-string')

browser js

var captureNsequentialChars = window.captureNsequentialChars

API

captureNsequentialChars(string,n)

License

MIT

Keywords

debounce

FAQs

Package last updated on 26 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts