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

absurdum

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

absurdum - npm Package Compare versions

Comparing version 0.4.3 to 0.5.0

dist/strings.js

18

docs/strings.md
# Type: String
## Operators
## Operators
### strings.startsWith(string, substr)
StartsWith tests a string to see if it starts with a substring
```javascript
let result = strings.startsWith('This sentence starts with', 'This');
console.log(result);
> true
```
```javascript
result = strings.startsWith('This sentence does not start with', 'Nope');
console.log(result);
> false
```

2

package.json
{
"name": "absurdum",
"version": "0.4.3",
"version": "0.5.0",
"description": "Reductio Ad Absurdum - The Riduculous Application of Reduce",

@@ -5,0 +5,0 @@ "keywords": [

@@ -70,3 +70,6 @@ [![npm](https://img.shields.io/npm/v/absurdum.svg)](https://www.npmjs.com/package/absurdum)

- [startsWith][str-startswith]
[strings]: ./docs/strings.md
[str-startswith]: ./docs/strings.md#stringsstartswithstring-substr

@@ -73,0 +76,0 @@ ### [HTML][html]

@@ -5,3 +5,4 @@ const path = require('path');

entry: {
'arrays': './src/arrays/index.js'
'arrays': './src/arrays/index.js',
'strings': './src/strings/index.js'
},

@@ -8,0 +9,0 @@ devtool: 'source-map',

Sorry, the diff of this file is not supported yet

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