Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

eggheadio-github/stack-overflow-copy-paste

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-overflow-copy-paste

A collection of utility JavaScript functions copy/pasted and slightly modified from StackOverflow answers 😀 (Not intended to be used in actual programs)

travis build codecov coverage version downloads MIT License semantic-release PRs Welcome Commitizen friendly

This repo is used as the basis for an Egghead.io series entitled: How to Contribute to an Open Source Project on GitHub

This repository exists as a resource for people to learn how to contribute to open source in a safe and friendly environment. Feel free to watch the video series and then contribute to this project. See the contributing guidelines.

Usage

import {flatten, snakeToCamel, clone} from 'stack-overflow-copy-paste'

flatten([[1, 2,], 3]) // [1, 2, 3]
snakeToCamel('snake-case-string') // 'snakeCaseString'

const testObj = {a: 1, b: 2}
const copyObj = clone(testObj)

LICENSE

MIT

About

Utility functions copy/pasted (and modified slightly) from Stack Overflow

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.