materialize

WebJar for materialize

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

materialize
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

materialize
WebJar for materialize
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/fgnass/materialize

Download materialize

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/materialize/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>materialize</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/materialize/
implementation 'org.webjars.npm:materialize:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/materialize/
implementation ("org.webjars.npm:materialize:1.0.0")
'org.webjars.npm:materialize:jar:1.0.0'
<dependency org="org.webjars.npm" name="materialize" rev="1.0.0">
  <artifact name="materialize" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='materialize', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "materialize" % "1.0.0"
[org.webjars.npm/materialize "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Build Status

Tiny utility to turn a list into an object

Example:

var materialize = require('materialize');

var props = [
  { name: 'foo', value: 23 },
  { name: 'bar', value: 42 }
];

console.log(materialize(props));

Output:

{ foo: 32, bar: 42 }

By default materialize() looks for a name and a value property. You may specify different names like this:

var props = [
  { property: 'foo', val: 23 },
  { property: 'bar', val: 42 }
];

var obj = materialize(props, 'property', 'val');

License

MIT

Versions

Version
1.0.0