npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bodokecss

v0.5.7-dev

Published

Bodoke is a CSS/SCSS Front-end Framework created for supporting multiple grids in a single project. With a minimum of design, it's visually clean from the scratch ready to be designed with your own identity.

Downloads

4

Readme

Bodoke CSS

Still at development.

Last release: 0.5.7

Bodoke it's a CSS Front-end Framework created with SASS/SCSS, made for supporting multiple grids in a single project with a minimum of custom design. It's a layout starter project nice and ready for you to design with your own custom identity.

BodokeCSS was born as a testing project where i can try any new CSS feature and practice the CSSOOP model.

The base idea of this project is to be responsive and not visualy contaminated. It supports desktop, mobile and tablet websites using semantic clases in html.

Support

  • IE >= 8
  • Firefox >= 30
  • Chrome >= 34
  • Safari >= 7
  • Opera >= 23
  • IOS >= 7
  • Android >= 4.4
  • Blackberry browser >= 10

How it works?

The .container class is the one whe keeps the content centered and makes your site look beautiful. You need to place it right after the body tag if you want to prevent the content from touching the viewport.

Then you can put as many .rows as you want inside the .container and it's mandatory that you put at least one .col (or .column/.columns/.cols) inside of each one of them.

Set the column width using the column-size classes (eg: .c6-12 will make that block fill half of the .row available space)

<body>
	<main class="container">
		<div class="row">
			<div class="c6-12 cols">Half row content</div>
			<div class="c6-12 cols">Half row content</div>
		</div>
	</main>
</body>

Changelog: Here

Project docs coming soon... But if you are brave enough, you can check the code for yourself (it's self documented!)

Getting Started

You need to have previously installed npm

Install via npm

npm install --save bodokecss

Clone it

Clone the bodokecss from your node_modules folder into your assets or scss folder (preferably scss/) but it will depend on your project structure


Integrate Bodoke into your site

1) Link into your html

<head>
	<title>Bodoke Rocks \m/</title>
	<link rel="stylesheet" type="text/css" href="css/bodoke.css">
</head>
<body>
	<!-- What does 'Bodoke' means?, what was this guy thinking? -->
</body>

2) Include into your sass flow

Assuming your site structure it's something like this:

/project
|-- *.html
|-- *.php
|-- /node_modules
    |-- bodokecss --> Copy this folder
|-- /src
    |-- css
    |-- js
    |-- images
|-- /scss
    |-- bodokecss --> And paste it here
    |   |-- app.scss

Then at the top of your main scss (eg. app.scss) file include the next line:

@import "build/src/bodoke";

You can easily customize or expand Bodoke inside build/src/bodoke.scss by commenting or uncommenting each @import component. I do not recommend to uncomment the items before 5. (Compnents).


Compile SCSS files

Using Gulp

To make this work, you need to have already installed node and gulp

If you are a gulp user copy and paste this task into your gulpfile.js (see: blog.diegomarmol.com.ar)

After Node was installed, run:

npm install gulp gulp-sass gulp-autoprefixer --save-dev
var gulp 			= require('gulp');
var sass 			= require('gulp-sass');
var autoprefixer 	= require('gulp-autoprefixer');

gulp.task('bdk', function () {
    gulp.src( '.scss/**/*.scss' ) // Set this according the route to your project
		.pipe(sass().on('error', sass.logError))
		.pipe(autoprefixer({
            browsers: AUTOPREFIXER_BROWSERS,
            cascade: false
        }))
		.pipe(gulp.dest( './path/to/your/css/folder' ));
});

Now Open the Terminal or CMD, run gulp bdk and your CSS will be up and running!