Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sassdash

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sassdash - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

sassdash.png

2

package.json
{
"name": "sassdash",
"version": "0.2.1",
"version": "0.2.2",
"description": "The Sass implementation of lodash.",

@@ -5,0 +5,0 @@ "main": "scss/_sassdash.scss",

@@ -1,3 +0,5 @@

# Sassdash (beta)
# Sassdash
![Sassdash logo](https://raw.githubusercontent.com/davidkpiano/sassdash/master/sassdash.png)
[![Join the chat at https://gitter.im/davidkpiano/sassdash](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/davidkpiano/sassdash?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@@ -11,2 +13,4 @@

Sassdash is a **collection of utility functions**, just like lodash. Sassdash never outputs any CSS declarations as it provides no mixins to do so.
## Getting Started

@@ -64,4 +68,28 @@ This library contains most of the implementable functions from [lodash](http://lodash.com). [See below](#available-functions) to see which functions are included.

## Available Functions
## New Functions
Sassdash includes a number of helper functions not available in lodash, which include utility functions and implementations of native Javascript functions:
* **`char` functions** - `_char-at`, `_char-code`, `_char-code-at`
* **`number` functions** - `_parse-float` (alias `_to-number`) - similar to Javascript `parseFloat`
* **`value` functions** - `_get` and `_set`\*
* **`list` functions** - `_reverse`, `_concat`, and `_splice`
* **`string` functions** - `_str-concat` and `_join` (list to string)
\* **Example:**
```scss
$map: ('foo': ('bar': ('baz': 'quo')));
$list: (1, ('a': 2), 3);
$baz: _get($map, 'foo' 'bar' 'baz'); // => 'quo'
$something: _get($list, 2 'a'); // => 2
$map: _set($map, 'foo' 'bar' 'test', 42);
// => ('foo': ('bar': ('baz': 'quo', 'test': 42)))
$list: _set($list, 2 'a', 42);
// => (1, ('a': 42), 3)
```
## Available lodash Functions
* :x: - Not implemented

@@ -68,0 +96,0 @@ * :clock130: - Coming soon

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc