All Projects → fredrb → codepen-downloader

fredrb / codepen-downloader

Licence: ISC license
Download showcase projects from codepen.io

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to codepen-downloader

insta-feed.js
Show your Instagram profile on your website. 🌈
Stars: ✭ 25 (-52.83%)
Mutual labels:  codepen
codepen-electron
Mac client for codepen.io
Stars: ✭ 28 (-47.17%)
Mutual labels:  codepen
codebook
Open-source learning tool that allows to users to follow textbook contents while practicing HTML, CSS and JS using a live code editor.
Stars: ✭ 20 (-62.26%)
Mutual labels:  codepen
Friendly Code Editor
Try this Friendly Code Editor. You'll love it. I made it with a lot of effort. It has some great features. I will update it adequately later. Very helpful for developers. Enjoy and share.
Stars: ✭ 20 (-62.26%)
Mutual labels:  codepen
codeframe
The fastest, easiest way to build and deploy quick static webpages
Stars: ✭ 107 (+101.89%)
Mutual labels:  codepen
ducky
Chrome extension to overlay a (super adorable) rubber duck, as a virtual companion during rubber duck debugging.
Stars: ✭ 80 (+50.94%)
Mutual labels:  codepen
react-collapse
Component-wrapper for collapse animation with CSS for elements with variable and dynamic height
Stars: ✭ 143 (+169.81%)
Mutual labels:  codepen
bookmarks
Bookmarks that I ❤️
Stars: ✭ 151 (+184.91%)
Mutual labels:  codepen
codepen-puppeteer
Use Puppeteer to download pens from Codepen.io as single html pages
Stars: ✭ 22 (-58.49%)
Mutual labels:  codepen
code-run
一个代码在线编辑预览工具,类似codepen、jsbin、jsfiddle等。
Stars: ✭ 325 (+513.21%)
Mutual labels:  codepen
watson-personality-insights-php
Framework Agnostic Watson Personality Insights Client
Stars: ✭ 13 (-75.47%)
Mutual labels:  unit-tested
lexer
Hackable Lexer with UTF-8 support
Stars: ✭ 19 (-64.15%)
Mutual labels:  unit-tested

Codepen Downloader

NPM Version Build Status NPM Downloads

Codepen Downloader is a tool used to download showcases from codepen to your machine. This can be done either via a command line tool or from a provided download method.

Install

It's recommended to install globally since it can be used as command line tool.

npm install cpen -g

You can then download any codepen with the following command:

cpen download <codepen url> [destination]

You can provide the full URL or only the codepen extension reference (e.g. /samirc/pen/vGKoxj)

Reference:

Command line:

cpen download /samirc/pen/vGKoxj resource

This will download .html .js and .css files to resource folder.

cpen.Download(url, destination, onCompleteCallback, [options], [onTick]):

You can use this method to dynamically download codepen files.

var cpen = require('cpen');

cpen.download('/samirc/pen/vGKoxj', 'resource', function(err) {
  if (err) throw err;
  console.log('Download completed!');
});

The options property is used to select which files should be downloaded. Example: ['html', 'css', 'js']

var cpen = require('cpen');

cpen.download('/ge1doot/pen/aNVYPN', 'resource', function() {
  if (err) throw err;
  console.log('Downloaded JS file to folder');
}, {
  targetFiles : ['js'],
  includeDependencies : true
});

Contributing

Want to contribute? Check the recommendations.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].